Mercurial > sdl-ios-xcode
diff src/thread/SDL_systhread.h @ 1402:d910939febfa
Use consistent identifiers for the various platforms we support.
Make sure every source file includes SDL_config.h, so the proper system
headers are chosen.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 21 Feb 2006 08:46:50 +0000 |
parents | 19418e4422cb |
children | 9fb0eee04dd9 |
line wrap: on
line diff
--- a/src/thread/SDL_systhread.h Tue Feb 21 08:34:45 2006 +0000 +++ b/src/thread/SDL_systhread.h Tue Feb 21 08:46:50 2006 +0000 @@ -19,6 +19,7 @@ Sam Lantinga slouken@libsdl.org */ +#include "SDL_config.h" /* These are functions that need to be implemented by a port of SDL */ @@ -31,7 +32,7 @@ saves a system-dependent thread id in thread->id, and returns 0 on success. */ -#if defined(_WIN32) || defined(__OS2__) +#if defined(__WIN32__) || defined(__OS2__) 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);