diff include/SDL_thread.h @ 1850:d5d3a6fe05a1

Fixed thread callback calling conventions, updated OS/2 DLL name to SDL12.dll
author Sam Lantinga <slouken@libsdl.org>
date Wed, 17 May 2006 18:57:04 +0000
parents 9fb0eee04dd9
children c121d94672cb e85e65aec22f
line wrap: on
line diff
--- a/include/SDL_thread.h	Wed May 17 15:08:46 2006 +0000
+++ b/include/SDL_thread.h	Wed May 17 18:57:04 2006 +0000
@@ -79,7 +79,7 @@
 typedef void (__cdecl *pfnSDL_CurrentEndThread)(unsigned code);
 #endif
 
-extern DECLSPEC SDL_Thread * SDLCALL SDL_CreateThread(int (*fn)(void *), void *data, pfnSDL_CurrentBeginThread pfnBeginThread, pfnSDL_CurrentEndThread pfnEndThread);
+extern DECLSPEC SDL_Thread * SDLCALL SDL_CreateThread(int (SDLCALL *fn)(void *), void *data, pfnSDL_CurrentBeginThread pfnBeginThread, pfnSDL_CurrentEndThread pfnEndThread);
 
 #ifdef __OS2__
 #define SDL_CreateThread(fn, data) SDL_CreateThread(fn, data, _beginthread, _endthread)