From c9d724b6da2ae3aceae3896a669420ff3c804f0d Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 22 Jan 2013 17:19:36 +0000 Subject: replace NT with proper macro: _WIN32 (http://msdn.microsoft.com/en-us/library/ff540443.aspx) svn path=/trunk/externals/miXed/; revision=16956 --- shared/unstable/loader.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'shared/unstable') 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 #include #endif -#ifdef NT +#ifdef _WIN32 #include #include #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) -- cgit v1.2.1