Enabled libc support on Win32, so we don't break binary compatibility in 1.2
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401475
This commit is contained in:
parent
0917598732
commit
8039553413
7 changed files with 88 additions and 8 deletions
|
@ -209,7 +209,7 @@ void SDL_RunThread(void *data)
|
|||
*statusloc = userfunc(userdata);
|
||||
}
|
||||
|
||||
#if defined(__WIN32__) || defined(__OS2__)
|
||||
#ifdef SDL_PASSED_BEGINTHREAD_ENDTHREAD
|
||||
#undef SDL_CreateThread
|
||||
DECLSPEC SDL_Thread * SDLCALL SDL_CreateThread(int (*fn)(void *), void *data, pfnSDL_CurrentBeginThread pfnBeginThread, pfnSDL_CurrentEndThread pfnEndThread)
|
||||
#else
|
||||
|
@ -250,7 +250,7 @@ DECLSPEC SDL_Thread * SDLCALL SDL_CreateThread(int (*fn)(void *), void *data)
|
|||
SDL_AddThread(thread);
|
||||
|
||||
/* Create the thread and go! */
|
||||
#if defined(__WIN32__) || defined(__OS2__)
|
||||
#ifdef SDL_PASSED_BEGINTHREAD_ENDTHREAD
|
||||
ret = SDL_SYS_CreateThread(thread, args, pfnBeginThread, pfnEndThread);
|
||||
#else
|
||||
ret = SDL_SYS_CreateThread(thread, args);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue