src/thread/SDL_thread.c
changeset 8094 9efaae827924
parent 8093 b43765095a6f
child 8149 681eb46b8ac4
     1.1 --- a/src/thread/SDL_thread.c	Sun Nov 24 23:56:17 2013 -0500
     1.2 +++ b/src/thread/SDL_thread.c	Mon Dec 09 16:03:18 2013 -0500
     1.3 @@ -296,8 +296,14 @@
     1.4      }
     1.5  }
     1.6  
     1.7 +#ifdef SDL_CreateThread
     1.8 +#undef SDL_CreateThread
     1.9 +#endif
    1.10 +#if SDL_DYNAMIC_API
    1.11 +#define SDL_CreateThread SDL_CreateThread_REAL
    1.12 +#endif
    1.13 +
    1.14  #ifdef SDL_PASSED_BEGINTHREAD_ENDTHREAD
    1.15 -#undef SDL_CreateThread
    1.16  DECLSPEC SDL_Thread *SDLCALL
    1.17  SDL_CreateThread(int (SDLCALL * fn) (void *),
    1.18                   const char *name, void *data,