mirror of
https://github.com/encounter/SDL.git
synced 2025-12-14 23:56:19 +00:00
Implemented the Dynamic API magic.
This commit is contained in:
@@ -630,7 +630,11 @@ SDL_SYS_JoystickInit(void)
|
||||
/* spin up the thread to detect hotplug of devices */
|
||||
#if defined(__WIN32__) && !defined(HAVE_LIBC)
|
||||
#undef SDL_CreateThread
|
||||
#if SDL_DYNAMIC_API
|
||||
s_threadJoystick= SDL_CreateThread_REAL( SDL_JoystickThread, "SDL_joystick", NULL, NULL, NULL );
|
||||
#else
|
||||
s_threadJoystick= SDL_CreateThread( SDL_JoystickThread, "SDL_joystick", NULL, NULL, NULL );
|
||||
#endif
|
||||
#else
|
||||
s_threadJoystick = SDL_CreateThread( SDL_JoystickThread, "SDL_joystick", NULL );
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user