mirror of
https://github.com/encounter/SDL.git
synced 2025-12-10 22:17:59 +00:00
Implemented the Dynamic API magic.
This commit is contained in:
@@ -224,7 +224,11 @@ SDL_TimerInit(void)
|
||||
/* !!! FIXME: this is nasty. */
|
||||
#if defined(__WIN32__) && !defined(HAVE_LIBC)
|
||||
#undef SDL_CreateThread
|
||||
#if SDL_DYNAMIC_API
|
||||
data->thread = SDL_CreateThread_REAL(SDL_TimerThread, name, data, NULL, NULL);
|
||||
#else
|
||||
data->thread = SDL_CreateThread(SDL_TimerThread, name, data, NULL, NULL);
|
||||
#endif
|
||||
#else
|
||||
data->thread = SDL_CreateThread(SDL_TimerThread, name, data);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user