Fixup some conditional compilation to use __MINGW32__

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22535 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2006-02-22 09:30:55 +00:00
parent 5c5a0b2e4b
commit eff71248f2
6 changed files with 30 additions and 28 deletions

View file

@ -108,7 +108,7 @@ _NSLog_standard_printf_handler (NSString* message)
NSData *d;
const char *buf;
unsigned len;
#if defined(__WIN32__)
#if defined(__MINGW32__)
LPCWSTR null_terminated_buf;
#else
#if defined(HAVE_SYSLOG)
@ -139,7 +139,7 @@ _NSLog_standard_printf_handler (NSString* message)
len = [d length];
}
#if defined(__WIN32__)
#if defined(__MINGW32__)
null_terminated_buf = UNISTR(message);
OutputDebugStringW(null_terminated_buf);
@ -184,7 +184,7 @@ _NSLog_standard_printf_handler (NSString* message)
#else
write(_NSLogDescriptor, buf, len);
#endif
#endif // __WIN32__
#endif // __MINGW32__
}
/**