mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2026-10-11 03:58:00 +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:
1 parent
7daeca53eb
commit
b06949c4cc
29 files changed
+92
-85
No files matched your search
+1
-1
@@ -8,7 +8,7 @@
|
||||
|
||||
#if defined( _WIN32 ) && !defined( _X360 )
|
||||
#include <windows.h> // for WideCharToMultiByte and MultiByteToWideChar
|
||||
#elif defined(_LINUX)
|
||||
#elif defined( _LINUX ) || defined( __APPLE__ )
|
||||
#include <wchar.h> // wcslen()
|
||||
#define _alloca alloca
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user