diff src/thread/SDL_systhread.h @ 1190:173c063d4f55

OS/2 port! This was mostly, if not entirely, written by "Doodle" and "Caetano": doodle@scenergy.dfmk.hu daniel@caetano.eng.br --ryan.
author Ryan C. Gordon <icculus@icculus.org>
date Wed, 23 Nov 2005 07:29:56 +0000
parents b8d311d90021
children c9b51268668f
line wrap: on
line diff
--- a/src/thread/SDL_systhread.h	Wed Nov 23 07:23:48 2005 +0000
+++ b/src/thread/SDL_systhread.h	Wed Nov 23 07:29:56 2005 +0000
@@ -33,7 +33,11 @@
    saves a system-dependent thread id in thread->id, and returns 0
    on success.
 */
+#ifdef __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);
+#endif
 
 /* This function does any necessary setup in the child thread */
 extern void SDL_SYS_SetupThread(void);