From 4b4ee808ff21e48922b7a6f4e2ec98fcca991a70 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sun, 11 Sep 2011 23:34:33 -0400 Subject: [PATCH] Maybe this will fix the Cygwin compile warning...argh. --HG-- branch : SDL-1.2 --- src/thread/win32/SDL_systhread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thread/win32/SDL_systhread.c b/src/thread/win32/SDL_systhread.c index 69ff38c4d..47fd88fec 100644 --- a/src/thread/win32/SDL_systhread.c +++ b/src/thread/win32/SDL_systhread.c @@ -45,7 +45,7 @@ typedef unsigned long (__watcall *pfnSDL_CurrentBeginThread) (void *, unsigned, unsigned (__stdcall *func)(void *), void *arg, unsigned, unsigned *threadID); typedef void (__watcall *pfnSDL_CurrentEndThread)(unsigned code); -#elif defined(__CYGWIN__) && !defined(__MINGW32__) +#elif (defined(__MINGW32__) && (__GNUC__ < 4)) typedef unsigned long (__cdecl *pfnSDL_CurrentBeginThread) (void *, unsigned, unsigned (__stdcall *func)(void *), void *arg, unsigned, unsigned *threadID);