Mercurial > sdl-ios-xcode
comparison src/thread/SDL_systhread.h @ 1471:9fb0eee04dd9
Enabled libc support on Win32, so we don't break binary compatibility in 1.2
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 06 Mar 2006 07:42:36 +0000 |
parents | d910939febfa |
children | 782fd950bd46 c121d94672cb a1b03ba2fcd0 |
comparison
equal
deleted
inserted
replaced
1470:d47d96962fcc | 1471:9fb0eee04dd9 |
---|---|
30 | 30 |
31 /* This function creates a thread, passing args to SDL_RunThread(), | 31 /* This function creates a thread, passing args to SDL_RunThread(), |
32 saves a system-dependent thread id in thread->id, and returns 0 | 32 saves a system-dependent thread id in thread->id, and returns 0 |
33 on success. | 33 on success. |
34 */ | 34 */ |
35 #if defined(__WIN32__) || defined(__OS2__) | 35 #ifdef SDL_PASSED_BEGINTHREAD_ENDTHREAD |
36 extern int SDL_SYS_CreateThread(SDL_Thread *thread, void *args, pfnSDL_CurrentBeginThread pfnBeginThread, pfnSDL_CurrentEndThread pfnEndThread); | 36 extern int SDL_SYS_CreateThread(SDL_Thread *thread, void *args, pfnSDL_CurrentBeginThread pfnBeginThread, pfnSDL_CurrentEndThread pfnEndThread); |
37 #else | 37 #else |
38 extern int SDL_SYS_CreateThread(SDL_Thread *thread, void *args); | 38 extern int SDL_SYS_CreateThread(SDL_Thread *thread, void *args); |
39 #endif | 39 #endif |
40 | 40 |