diff -r d47d96962fcc -r 9fb0eee04dd9 src/thread/SDL_thread.c --- a/src/thread/SDL_thread.c Mon Mar 06 06:00:45 2006 +0000 +++ b/src/thread/SDL_thread.c Mon Mar 06 07:42:36 2006 +0000 @@ -209,7 +209,7 @@ *statusloc = userfunc(userdata); } -#if defined(__WIN32__) || defined(__OS2__) +#ifdef SDL_PASSED_BEGINTHREAD_ENDTHREAD #undef SDL_CreateThread DECLSPEC SDL_Thread * SDLCALL SDL_CreateThread(int (*fn)(void *), void *data, pfnSDL_CurrentBeginThread pfnBeginThread, pfnSDL_CurrentEndThread pfnEndThread) #else @@ -250,7 +250,7 @@ SDL_AddThread(thread); /* Create the thread and go! */ -#if defined(__WIN32__) || defined(__OS2__) +#ifdef SDL_PASSED_BEGINTHREAD_ENDTHREAD ret = SDL_SYS_CreateThread(thread, args, pfnBeginThread, pfnEndThread); #else ret = SDL_SYS_CreateThread(thread, args);