2006-02-10 Jeremy Bettis <jeremy@deadbeef.com>

* thr-win32.c: There is no such define __MINGW__, changed to __MINGW32__

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/libobjc/trunk@22462 72102866-910b-0410-8b05-ffd578937521
main
jbettis 20 years ago
parent f9cc0eb3df
commit 9bca427c75

@ -1,3 +1,7 @@
2006-02-10 Jeremy Bettis <jeremy@deadbeef.com>
* thr-win32.c: There is no such define __MINGW__, changed to __MINGW32__
2006-01-20 Adam Fedor <fedor@gnu.org>
* Import from recent gcc repository 2006-01-03 with fixups (see

@ -67,7 +67,7 @@ __objc_thread_detach(void (*func)(void *arg), void *arg)
DWORD thread_id = 0;
HANDLE win32_handle;
#ifndef __MINGW__
#ifndef __MINGW32__
if (!(win32_handle = CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)func,
arg, 0, &thread_id)))
#else
@ -150,7 +150,7 @@ int
__objc_thread_exit(void)
{
/* exit the thread */
#ifndef __MINGW__
#ifndef __MINGW32__
ExitThread(__objc_thread_exit_status);
#else
_endthreadex(__objc_thread_exit_status);

Loading…
Cancel
Save