I shouldn't have touched this again in the first place
authorScott Ehlert <ds@alliedmods.net>
Thu Jul 20 11:31:41 2006 +0000 (2006-07-20)
changeset 223f44cad5df4e8
parent 222 9c9087367e2b
child 224 401c3ea7f8b5
I shouldn't have touched this again in the first place
sourcemm/oslink.h
sourcemm/sample_mm/oslink.h
     1.1 --- a/sourcemm/oslink.h	Thu Jul 20 11:12:46 2006 +0000
     1.2 +++ b/sourcemm/oslink.h	Thu Jul 20 11:31:41 2006 +0000
     1.3 @@ -21,13 +21,12 @@
     1.4  	#define OS_WIN32
     1.5  	#if defined _MSC_VER && _MSC_VER >= 1400
     1.6  		#undef ARRAYSIZE
     1.7 +	#else
     1.8 +		#define mkdir(a) _mkdir(a)
     1.9  	#endif
    1.10  	#include <windows.h>
    1.11  	#include <io.h>
    1.12  	#include <direct.h>
    1.13 -	#ifndef mkdir
    1.14 -		#define mkdir(a) _mkdir(a)
    1.15 -	#endif
    1.16  	#define		dlmount(x)		LoadLibrary(x)
    1.17  	#define		dlsym(x, s)		GetProcAddress(x, s)
    1.18  	#define		dlclose(x)		FreeLibrary(x)
     2.1 --- a/sourcemm/sample_mm/oslink.h	Thu Jul 20 11:12:46 2006 +0000
     2.2 +++ b/sourcemm/sample_mm/oslink.h	Thu Jul 20 11:31:41 2006 +0000
     2.3 @@ -21,13 +21,12 @@
     2.4  	#define OS_WIN32
     2.5  	#if defined _MSC_VER && _MSC_VER >= 1400
     2.6  		#undef ARRAYSIZE
     2.7 +	#else
     2.8 +		#define mkdir(a) _mkdir(a)
     2.9  	#endif
    2.10  	#include <windows.h>
    2.11  	#include <io.h>
    2.12  	#include <direct.h>
    2.13 -	#ifndef mkdir
    2.14 -		#define mkdir(a) _mkdir(a)
    2.15 -	#endif
    2.16  	#define		dlmount(x)		LoadLibrary(x)
    2.17  	#define		dlsym(x, s)		GetProcAddress(x, s)
    2.18  	#define		dlclose(x)		FreeLibrary(x)