Implemented the Dynamic API magic.
--HG-- extra : rebase_source : 38f639089d3d142895d5cf106919a0bfbb65c5ed
This commit is contained in:
parent
82edee6971
commit
63256a2384
21 changed files with 1808 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue