From 9bca427c755e9cafacfbe693eb82a136b491144a Mon Sep 17 00:00:00 2001 From: jbettis Date: Fri, 10 Feb 2006 19:23:17 +0000 Subject: [PATCH] 2006-02-10 Jeremy Bettis * 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 --- ChangeLog | 4 ++++ thr-win32.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index d1a0414..697f849 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-02-10 Jeremy Bettis + + * thr-win32.c: There is no such define __MINGW__, changed to __MINGW32__ + 2006-01-20 Adam Fedor * Import from recent gcc repository 2006-01-03 with fixups (see diff --git a/thr-win32.c b/thr-win32.c index 8de2e92..76ed389 100644 --- a/thr-win32.c +++ b/thr-win32.c @@ -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);