Mercurial > sdl-ios-xcode
diff src/thread/SDL_systhread.h @ 1330:450721ad5436
It's now possible to build SDL without any C runtime at all on Windows,
using Visual C++ 2005
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 06 Feb 2006 08:28:51 +0000 |
parents | c9b51268668f |
children | 19418e4422cb |
line wrap: on
line diff
--- a/src/thread/SDL_systhread.h Sat Feb 04 22:01:44 2006 +0000 +++ b/src/thread/SDL_systhread.h Mon Feb 06 08:28:51 2006 +0000 @@ -28,7 +28,7 @@ saves a system-dependent thread id in thread->id, and returns 0 on success. */ -#ifdef __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);