Maybe THIS will fix the Cygwin warnings...
--HG-- branch : SDL-1.2
This commit is contained in:
parent
c9ff53c73a
commit
e9b3d5c60b
2 changed files with 5 additions and 5 deletions
|
@ -68,11 +68,6 @@ typedef struct SDL_Thread SDL_Thread;
|
||||||
#ifdef __OS2__
|
#ifdef __OS2__
|
||||||
typedef int (*pfnSDL_CurrentBeginThread)(void (*func)(void *), void *, unsigned, void *arg);
|
typedef int (*pfnSDL_CurrentBeginThread)(void (*func)(void *), void *, unsigned, void *arg);
|
||||||
typedef void (*pfnSDL_CurrentEndThread)(void);
|
typedef void (*pfnSDL_CurrentEndThread)(void);
|
||||||
#elif defined(__CYGWIN__) && !defined(__MINGW32__)
|
|
||||||
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
|
#else
|
||||||
typedef uintptr_t (__cdecl *pfnSDL_CurrentBeginThread) (void *, unsigned,
|
typedef uintptr_t (__cdecl *pfnSDL_CurrentBeginThread) (void *, unsigned,
|
||||||
unsigned (__stdcall *func)(void *), void *arg,
|
unsigned (__stdcall *func)(void *), void *arg,
|
||||||
|
|
|
@ -45,6 +45,11 @@ typedef unsigned long (__watcall *pfnSDL_CurrentBeginThread) (void *, unsigned,
|
||||||
unsigned (__stdcall *func)(void *), void *arg,
|
unsigned (__stdcall *func)(void *), void *arg,
|
||||||
unsigned, unsigned *threadID);
|
unsigned, unsigned *threadID);
|
||||||
typedef void (__watcall *pfnSDL_CurrentEndThread)(unsigned code);
|
typedef void (__watcall *pfnSDL_CurrentEndThread)(unsigned code);
|
||||||
|
#elif defined(__CYGWIN__) && !defined(__MINGW32__)
|
||||||
|
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
|
#else
|
||||||
typedef uintptr_t (__cdecl *pfnSDL_CurrentBeginThread) (void *, unsigned,
|
typedef uintptr_t (__cdecl *pfnSDL_CurrentBeginThread) (void *, unsigned,
|
||||||
unsigned (__stdcall *func)(void *), void *arg,
|
unsigned (__stdcall *func)(void *), void *arg,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue