mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-09 21:52:05 +08:00
game_launch: fix Windows build (as suggested by @SNMetamorph)
This commit is contained in:
@@ -25,7 +25,11 @@ GNU General Public License for more details.
|
||||
#include <emscripten.h>
|
||||
#endif
|
||||
|
||||
#include <unistd.h>
|
||||
#if XASH_WIN32
|
||||
#include <process.h> // _execve
|
||||
#else
|
||||
#include <unistd.h> // execve
|
||||
#endif
|
||||
|
||||
extern char **environ;
|
||||
static char szGameDir[128]; // safe place to keep gamedir
|
||||
|
||||
Reference in New Issue
Block a user