fix togl build

This commit is contained in:
nillerusr 2020-10-22 19:51:33 +03:00
parent 84a698de7b
commit e47e510aa5
3 changed files with 7 additions and 3 deletions

View File

@ -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

View File

@ -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"

View File

@ -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"