Skip to content

Commit

Permalink
fix togl build
Browse files Browse the repository at this point in the history
  • Loading branch information
nillerusr committed Oct 22, 2020
1 parent 84a698d commit e47e510
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion togl/linuxwin/glmgrbasics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion togl/togl.vpc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion vstdlib/vstdlib.vpc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//-----------------------------------------------------------------------------

$Macro SRCDIR ".."
$Macro OUTBINDIR "$SRCDIR\..\game\bin"
$Macro OUTBINDIR "$LIBPUBLIC"

$include "$SRCDIR\vpc_scripts\source_dll_base.vpc"

Expand Down

0 comments on commit e47e510

Please sign in to comment.