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:
@ -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
|
||||
|
Reference in New Issue
Block a user