Another shot at fixing the compiler warnings under Cygwin/MingW.
--HG-- branch : SDL-1.2
This commit is contained in:
parent
314fc920c2
commit
98bec7bf8e
3 changed files with 4 additions and 13 deletions
|
@ -68,11 +68,6 @@ typedef struct SDL_Thread SDL_Thread;
|
|||
#ifdef __OS2__
|
||||
typedef int (*pfnSDL_CurrentBeginThread)(void (*func)(void *), void *, unsigned, void *arg);
|
||||
typedef void (*pfnSDL_CurrentEndThread)(void);
|
||||
#elif __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 *), void *arg,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue