src/thread/generic/SDL_systhread.c
changeset 7259 be3edef98d4b
parent 7037 3fedf1f25b94
child 7978 70ac84e49797
--- a/src/thread/generic/SDL_systhread.c	Sun Jun 02 01:09:12 2013 -0700
+++ b/src/thread/generic/SDL_systhread.c	Sun Jun 02 01:12:29 2013 -0700
@@ -25,8 +25,15 @@
 #include "SDL_thread.h"
 #include "../SDL_systhread.h"
 
+#ifdef SDL_PASSED_BEGINTHREAD_ENDTHREAD
+int
+SDL_SYS_CreateThread(SDL_Thread * thread, void *args,
+                     pfnSDL_CurrentBeginThread pfnBeginThread,
+                     pfnSDL_CurrentEndThread pfnEndThread)
+#else
 int
 SDL_SYS_CreateThread(SDL_Thread * thread, void *args)
+#endif /* SDL_PASSED_BEGINTHREAD_ENDTHREAD */
 {
     return SDL_SetError("Threads are not supported on this platform");
 }