src/thread/generic/SDL_systhread.c
changeset 7259 be3edef98d4b
parent 7037 3fedf1f25b94
child 7978 70ac84e49797
     1.1 --- a/src/thread/generic/SDL_systhread.c	Sun Jun 02 01:09:12 2013 -0700
     1.2 +++ b/src/thread/generic/SDL_systhread.c	Sun Jun 02 01:12:29 2013 -0700
     1.3 @@ -25,8 +25,15 @@
     1.4  #include "SDL_thread.h"
     1.5  #include "../SDL_systhread.h"
     1.6  
     1.7 +#ifdef SDL_PASSED_BEGINTHREAD_ENDTHREAD
     1.8 +int
     1.9 +SDL_SYS_CreateThread(SDL_Thread * thread, void *args,
    1.10 +                     pfnSDL_CurrentBeginThread pfnBeginThread,
    1.11 +                     pfnSDL_CurrentEndThread pfnEndThread)
    1.12 +#else
    1.13  int
    1.14  SDL_SYS_CreateThread(SDL_Thread * thread, void *args)
    1.15 +#endif /* SDL_PASSED_BEGINTHREAD_ENDTHREAD */
    1.16  {
    1.17      return SDL_SetError("Threads are not supported on this platform");
    1.18  }