include/SDL_thread.h
changeset 8094 9efaae827924
parent 7981 6d538bc1b395
child 8149 681eb46b8ac4
     1.1 --- a/include/SDL_thread.h	Sun Nov 24 23:56:17 2013 -0500
     1.2 +++ b/include/SDL_thread.h	Mon Dec 09 16:03:18 2013 -0500
     1.3 @@ -111,7 +111,12 @@
     1.4  /**
     1.5   *  Create a thread.
     1.6   */
     1.7 +#if defined(SDL_CreateThread) && SDL_DYNAMIC_API
     1.8 +#undef SDL_CreateThread
     1.9 +#define SDL_CreateThread(fn, name, data) SDL_CreateThread_REAL(fn, name, data, (pfnSDL_CurrentBeginThread)_beginthreadex, (pfnSDL_CurrentEndThread)_endthreadex)
    1.10 +#else
    1.11  #define SDL_CreateThread(fn, name, data) SDL_CreateThread(fn, name, data, (pfnSDL_CurrentBeginThread)_beginthreadex, (pfnSDL_CurrentEndThread)_endthreadex)
    1.12 +#endif
    1.13  
    1.14  #else
    1.15