summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRyan C. Gordon <icculus@icculus.org>2011-09-12 13:36:38 -0400
committerRyan C. Gordon <icculus@icculus.org>2011-09-12 13:36:38 -0400
commitacd3f0b040de1467de22bd6814d7967b54dd527d (patch)
treef9f7cf9bfc4c105eca771f199f4cb2b6550ea6b5 /include
parent28417bafe91ed40561d3cc94e95d281d99320938 (diff)
Clean up the win32 compiler warnings for SDL threads, in the 1.3 branch.
--HG-- extra : rebase_source : 420916ed06d79e2d3c1d50e5fb40314ac7d94d85
Diffstat (limited to 'include')
-rw-r--r--include/SDL_thread.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/SDL_thread.h b/include/SDL_thread.h
index c771a399..238ed3d4 100644
--- a/include/SDL_thread.h
+++ b/include/SDL_thread.h
@@ -90,17 +90,6 @@ typedef int (SDLCALL * SDL_ThreadFunction) (void *data);
#include <process.h> /* This has _beginthread() and _endthread() defined! */
#endif
-#ifdef __GNUC__
-typedef unsigned long (__cdecl * pfnSDL_CurrentBeginThread) (void *, unsigned,
- unsigned
- (__stdcall *
- func) (void *),
- void *arg,
- unsigned,
- unsigned
- *threadID);
-typedef void (__cdecl * pfnSDL_CurrentEndThread) (unsigned code);
-#else
typedef uintptr_t(__cdecl * pfnSDL_CurrentBeginThread) (void *, unsigned,
unsigned (__stdcall *
func) (void
@@ -108,7 +97,6 @@ typedef uintptr_t(__cdecl * pfnSDL_CurrentBeginThread) (void *, unsigned,
void *arg, unsigned,
unsigned *threadID);
typedef void (__cdecl * pfnSDL_CurrentEndThread) (unsigned code);
-#endif
/**
* Create a thread.