mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-03 05:49:41 +03:00
fix togl build
This commit is contained in:
@@ -2628,7 +2628,11 @@ bool GLMDetectOGLP( void )
|
||||
#include <sys/types.h>
|
||||
#ifndef _WIN32
|
||||
#include <unistd.h>
|
||||
#include <sys/sysctl.h>
|
||||
#ifdef LINUX
|
||||
#include <linux/sysctl.h>
|
||||
#else
|
||||
#include <sys/sysctl.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// From Technical Q&A QA1361
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
$Macro SRCDIR ".." [$WIN32]
|
||||
$Macro SRCDIR ".." [!$WIN32]
|
||||
$Macro OUTBINDIR "$SRCDIR\..\game\bin"
|
||||
$Macro OUTBINDIR $LIBPUBLIC
|
||||
$Macro OUTBINNAME "togl"
|
||||
$Macro TOGL_SRCDIR "$SRCDIR/togl/linuxwin"
|
||||
$Macro TOGL_INCDIR "$SRCDIR/public/togl/linuxwin"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
$Macro SRCDIR ".."
|
||||
$Macro OUTBINDIR "$SRCDIR\..\game\bin"
|
||||
$Macro OUTBINDIR "$LIBPUBLIC"
|
||||
|
||||
$include "$SRCDIR\vpc_scripts\source_dll_base.vpc"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user