src/joystick/windows/SDL_dxjoystick.c
changeset 8094 9efaae827924
parent 8093 b43765095a6f
child 8149 681eb46b8ac4
     1.1 --- a/src/joystick/windows/SDL_dxjoystick.c	Sun Nov 24 23:56:17 2013 -0500
     1.2 +++ b/src/joystick/windows/SDL_dxjoystick.c	Mon Dec 09 16:03:18 2013 -0500
     1.3 @@ -630,7 +630,11 @@
     1.4          /* spin up the thread to detect hotplug of devices */
     1.5  #if defined(__WIN32__) && !defined(HAVE_LIBC)
     1.6  #undef SDL_CreateThread
     1.7 +#if SDL_DYNAMIC_API
     1.8 +        s_threadJoystick= SDL_CreateThread_REAL( SDL_JoystickThread, "SDL_joystick", NULL, NULL, NULL );
     1.9 +#else
    1.10          s_threadJoystick= SDL_CreateThread( SDL_JoystickThread, "SDL_joystick", NULL, NULL, NULL );
    1.11 +#endif
    1.12  #else
    1.13          s_threadJoystick = SDL_CreateThread( SDL_JoystickThread, "SDL_joystick", NULL );
    1.14  #endif