1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-20 12:36:05 +08:00

More portions of the SDK compile (and link!) on Mac OS X (bug 4392, r=dvander).

SourceMod compiles and links now. Hurray! Most plugins may also but there may be more work to do.
This commit is contained in:
Scott Ehlert
2010-05-13 04:08:37 -05:00
parent 7daeca53eb
commit b06949c4cc
29 changed files with 92 additions and 85 deletions

View File

@ -12,7 +12,7 @@
#include <direct.h>
#include <io.h>
#include <process.h>
#elif defined( _LINUX )
#elif defined( _LINUX ) || defined( __APPLE__ )
#include <unistd.h>
#define _putenv putenv
#define _chdir chdir