src/thread/SDL_thread.c
changeset 10146 471eb08040ce
parent 10145 cd87106d1d47
child 10617 346c02ff71b6
     1.1 --- a/src/thread/SDL_thread.c	Tue Apr 12 14:38:50 2016 -0400
     1.2 +++ b/src/thread/SDL_thread.c	Tue Apr 12 16:45:10 2016 -0400
     1.3 @@ -423,6 +423,16 @@
     1.4  #endif
     1.5  }
     1.6  
     1.7 +SDL_Thread *
     1.8 +SDL_CreateThreadInternal(int (SDLCALL * fn) (void *), const char *name,
     1.9 +                         const size_t stacksize, void *data) {
    1.10 +#ifdef SDL_PASSED_BEGINTHREAD_ENDTHREAD
    1.11 +    return SDL_CreateThreadWithStackSize(fn, name, stacksize, data, NULL, NULL);
    1.12 +#else
    1.13 +    return SDL_CreateThreadWithStackSize(fn, name, stacksize, data);
    1.14 +#endif
    1.15 +}
    1.16 +
    1.17  SDL_threadID
    1.18  SDL_GetThreadID(SDL_Thread * thread)
    1.19  {