Fixed building with cygwin
Note that building with cygwin gcc results in a DLL that depends on cygwin1.dll
This commit is contained in:
parent
588e67304c
commit
ef291a943f
4 changed files with 116 additions and 15 deletions
6
src/thread/windows/SDL_systhread.c
Normal file → Executable file
6
src/thread/windows/SDL_systhread.c
Normal file → Executable file
|
@ -106,6 +106,12 @@ SDL_SYS_CreateThread(SDL_Thread * thread, void *args,
|
|||
pfnSDL_CurrentBeginThread pfnBeginThread,
|
||||
pfnSDL_CurrentEndThread pfnEndThread)
|
||||
{
|
||||
#elif defined(__CYGWIN__)
|
||||
int
|
||||
SDL_SYS_CreateThread(SDL_Thread * thread, void *args)
|
||||
{
|
||||
pfnSDL_CurrentBeginThread pfnBeginThread = NULL;
|
||||
pfnSDL_CurrentEndThread pfnEndThread = NULL;
|
||||
#else
|
||||
int
|
||||
SDL_SYS_CreateThread(SDL_Thread * thread, void *args)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue