src/haptic/windows/SDL_syshaptic.c
changeset 8094 9efaae827924
parent 8093 b43765095a6f
child 8149 681eb46b8ac4
     1.1 --- a/src/haptic/windows/SDL_syshaptic.c	Sun Nov 24 23:56:17 2013 -0500
     1.2 +++ b/src/haptic/windows/SDL_syshaptic.c	Mon Dec 09 16:03:18 2013 -0500
     1.3 @@ -428,7 +428,11 @@
     1.4  
     1.5  #if defined(__WIN32__) && !defined(HAVE_LIBC)  /* !!! FIXME: this is nasty. */
     1.6      #undef SDL_CreateThread
     1.7 +    #if SDL_DYNAMIC_API
     1.8 +    haptic->hwdata->thread = SDL_CreateThread_REAL(SDL_RunXInputHaptic, threadName, haptic->hwdata, NULL, NULL);
     1.9 +    #else
    1.10      haptic->hwdata->thread = SDL_CreateThread(SDL_RunXInputHaptic, threadName, haptic->hwdata, NULL, NULL);
    1.11 +    #endif
    1.12  #else
    1.13      haptic->hwdata->thread = SDL_CreateThread(SDL_RunXInputHaptic, threadName, haptic->hwdata);
    1.14  #endif