comparison 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
comparison
equal deleted inserted replaced
1329:bc67bbf87818 1330:450721ad5436
26 26
27 /* This function creates a thread, passing args to SDL_RunThread(), 27 /* This function creates a thread, passing args to SDL_RunThread(),
28 saves a system-dependent thread id in thread->id, and returns 0 28 saves a system-dependent thread id in thread->id, and returns 0
29 on success. 29 on success.
30 */ 30 */
31 #ifdef __OS2__ 31 #if defined(_WIN32) || defined(__OS2__)
32 extern int SDL_SYS_CreateThread(SDL_Thread *thread, void *args, pfnSDL_CurrentBeginThread pfnBeginThread, pfnSDL_CurrentEndThread pfnEndThread); 32 extern int SDL_SYS_CreateThread(SDL_Thread *thread, void *args, pfnSDL_CurrentBeginThread pfnBeginThread, pfnSDL_CurrentEndThread pfnEndThread);
33 #else 33 #else
34 extern int SDL_SYS_CreateThread(SDL_Thread *thread, void *args); 34 extern int SDL_SYS_CreateThread(SDL_Thread *thread, void *args);
35 #endif 35 #endif
36 36