src/thread/SDL_systhread.h
changeset 1471 9fb0eee04dd9
parent 1402 d910939febfa
child 1662 782fd950bd46
child 1895 c121d94672cb
child 4159 a1b03ba2fcd0
--- a/src/thread/SDL_systhread.h	Mon Mar 06 06:00:45 2006 +0000
+++ b/src/thread/SDL_systhread.h	Mon Mar 06 07:42:36 2006 +0000
@@ -32,7 +32,7 @@
    saves a system-dependent thread id in thread->id, and returns 0
    on success.
 */
-#if defined(__WIN32__) || defined(__OS2__)
+#ifdef SDL_PASSED_BEGINTHREAD_ENDTHREAD
 extern int SDL_SYS_CreateThread(SDL_Thread *thread, void *args, pfnSDL_CurrentBeginThread pfnBeginThread, pfnSDL_CurrentEndThread pfnEndThread);
 #else
 extern int SDL_SYS_CreateThread(SDL_Thread *thread, void *args);