src/thread/SDL_thread.c
changeset 1402 d910939febfa
parent 1358 c71e05b4dc2e
child 1471 9fb0eee04dd9
     1.1 --- a/src/thread/SDL_thread.c	Tue Feb 21 08:34:45 2006 +0000
     1.2 +++ b/src/thread/SDL_thread.c	Tue Feb 21 08:46:50 2006 +0000
     1.3 @@ -19,6 +19,7 @@
     1.4      Sam Lantinga
     1.5      slouken@libsdl.org
     1.6  */
     1.7 +#include "SDL_config.h"
     1.8  
     1.9  /* System independent thread management routines for SDL */
    1.10  
    1.11 @@ -208,7 +209,7 @@
    1.12  	*statusloc = userfunc(userdata);
    1.13  }
    1.14  
    1.15 -#if defined(_WIN32) || defined(__OS2__)
    1.16 +#if defined(__WIN32__) || defined(__OS2__)
    1.17  #undef SDL_CreateThread
    1.18  DECLSPEC SDL_Thread * SDLCALL SDL_CreateThread(int (*fn)(void *), void *data, pfnSDL_CurrentBeginThread pfnBeginThread, pfnSDL_CurrentEndThread pfnEndThread)
    1.19  #else
    1.20 @@ -249,7 +250,7 @@
    1.21  	SDL_AddThread(thread);
    1.22  
    1.23  	/* Create the thread and go! */
    1.24 -#if defined(_WIN32) || defined(__OS2__)
    1.25 +#if defined(__WIN32__) || defined(__OS2__)
    1.26  	ret = SDL_SYS_CreateThread(thread, args, pfnBeginThread, pfnEndThread);
    1.27  #else
    1.28  	ret = SDL_SYS_CreateThread(thread, args);