mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
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:
parent
5c5a0b2e4b
commit
eff71248f2
6 changed files with 30 additions and 28 deletions
|
@ -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__
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue