Browse Source

fix togl build

android
nillerusr 4 years ago
parent
commit
e47e510aa5
  1. 6
      togl/linuxwin/glmgrbasics.cpp
  2. 2
      togl/togl.vpc
  3. 2
      vstdlib/vstdlib.vpc

6
togl/linuxwin/glmgrbasics.cpp

@ -2628,7 +2628,11 @@ bool GLMDetectOGLP( void ) @@ -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

2
togl/togl.vpc

@ -6,7 +6,7 @@ @@ -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"

2
vstdlib/vstdlib.vpc

@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@
//-----------------------------------------------------------------------------
$Macro SRCDIR ".."
$Macro OUTBINDIR "$SRCDIR\..\game\bin"
$Macro OUTBINDIR "$LIBPUBLIC"
$include "$SRCDIR\vpc_scripts\source_dll_base.vpc"

Loading…
Cancel
Save