Index: thr-win32.c =================================================================== RCS file: /cvsroot/gnustep/gnustep/dev-libs/libobjc/thr-win32.c,v retrieving revision 1.3 diff -u -r1.3 thr-win32.c --- thr-win32.c 20 Aug 2003 03:44:20 -0000 1.3 +++ thr-win32.c 11 Oct 2005 19:07:54 -0000 @@ -64,10 +64,10 @@ objc_thread_t __objc_thread_detach(void (*func)(void *arg), void *arg) { +#ifndef __MINGW32__ DWORD thread_id = 0; HANDLE win32_handle; -#ifndef __MINGW__ if (!(win32_handle = CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)func, arg, 0, &thread_id))) #else @@ -150,7 +150,7 @@ __objc_thread_exit(void) { /* exit the thread */ -#ifndef __MINGW__ +#ifndef __MINGW32__ ExitThread(__objc_thread_exit_status); #else _endthreadex(__objc_thread_exit_status);