diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2013-01-22 17:19:36 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2013-01-22 17:19:36 +0000 |
commit | c9d724b6da2ae3aceae3896a669420ff3c804f0d (patch) | |
tree | 2722332132223a123caa6ba44ec0899e64cab1c4 /shared/unstable | |
parent | 44e4dadbfdd1118ff5a64d6195eaa168c29405a3 (diff) |
replace NT with proper macro: _WIN32 (http://msdn.microsoft.com/en-us/library/ff540443.aspx)
svn path=/trunk/externals/miXed/; revision=16956
Diffstat (limited to 'shared/unstable')
-rw-r--r-- | shared/unstable/loader.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/shared/unstable/loader.c b/shared/unstable/loader.c index e8ca544..62e9aaf 100644 --- a/shared/unstable/loader.c +++ b/shared/unstable/loader.c @@ -13,7 +13,7 @@ #include <stdlib.h> #include <unistd.h> #endif -#ifdef NT +#ifdef _WIN32 #include <io.h> #include <windows.h> #endif @@ -47,7 +47,7 @@ static char sys_dllextent[] = #ifdef MACOSX ".pd_darwin"; #endif -#ifdef NT +#ifdef _WIN32 ".dll"; #endif @@ -56,7 +56,7 @@ static int unstable_doload_lib(char *dirname, char *classname) char symname[MAXPDSTRING], filename[MAXPDSTRING], *lastdot; void *dlobj; t_xxx makeout; -#ifdef NT +#ifdef _WIN32 HINSTANCE ntdll; #endif /* refabricate the pathname */ @@ -88,7 +88,7 @@ static int unstable_doload_lib(char *dirname, char *classname) } makeout = (t_xxx)dlsym(dlobj, symname); #endif -#ifdef NT +#ifdef _WIN32 sys_bashfilename(filename, filename); ntdll = LoadLibrary(filename); if (!ntdll) |