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