src/thread/SDL_thread.c
changeset 8094 9efaae827924
parent 8093 b43765095a6f
child 8149 681eb46b8ac4
equal deleted inserted replaced
8093:b43765095a6f 8094:9efaae827924
   294             SDL_free(thread);
   294             SDL_free(thread);
   295         }
   295         }
   296     }
   296     }
   297 }
   297 }
   298 
   298 
       
   299 #ifdef SDL_CreateThread
       
   300 #undef SDL_CreateThread
       
   301 #endif
       
   302 #if SDL_DYNAMIC_API
       
   303 #define SDL_CreateThread SDL_CreateThread_REAL
       
   304 #endif
       
   305 
   299 #ifdef SDL_PASSED_BEGINTHREAD_ENDTHREAD
   306 #ifdef SDL_PASSED_BEGINTHREAD_ENDTHREAD
   300 #undef SDL_CreateThread
       
   301 DECLSPEC SDL_Thread *SDLCALL
   307 DECLSPEC SDL_Thread *SDLCALL
   302 SDL_CreateThread(int (SDLCALL * fn) (void *),
   308 SDL_CreateThread(int (SDLCALL * fn) (void *),
   303                  const char *name, void *data,
   309                  const char *name, void *data,
   304                  pfnSDL_CurrentBeginThread pfnBeginThread,
   310                  pfnSDL_CurrentBeginThread pfnBeginThread,
   305                  pfnSDL_CurrentEndThread pfnEndThread)
   311                  pfnSDL_CurrentEndThread pfnEndThread)