comparison include/SDL_thread.h @ 1470:d47d96962fcc

Fixed declarations to match mingw includes
author Sam Lantinga <slouken@libsdl.org>
date Mon, 06 Mar 2006 06:00:45 +0000
parents 8dfa9a6d69a5
children 9fb0eee04dd9
comparison
equal deleted inserted replaced
1469:bf867c1e57e3 1470:d47d96962fcc
67 #endif 67 #endif
68 68
69 #ifdef __OS2__ 69 #ifdef __OS2__
70 typedef int (*pfnSDL_CurrentBeginThread)(void (*func)(void *), void *, unsigned, void *arg); 70 typedef int (*pfnSDL_CurrentBeginThread)(void (*func)(void *), void *, unsigned, void *arg);
71 typedef void (*pfnSDL_CurrentEndThread)(void); 71 typedef void (*pfnSDL_CurrentEndThread)(void);
72 #elif __GNUC__
73 typedef unsigned long (__cdecl *pfnSDL_CurrentBeginThread) (void *, unsigned,
74 unsigned (__stdcall *func)(void *), void *arg,
75 unsigned, unsigned *threadID);
76 typedef void (__cdecl *pfnSDL_CurrentEndThread)(unsigned code);
72 #else 77 #else
73 typedef uintptr_t (__cdecl *pfnSDL_CurrentBeginThread) (void *, unsigned, 78 typedef uintptr_t (__cdecl *pfnSDL_CurrentBeginThread) (void *, unsigned,
74 unsigned (__stdcall *func)(void *), void *arg, 79 unsigned (__stdcall *func)(void *), void *arg,
75 unsigned, unsigned *threadID); 80 unsigned, unsigned *threadID);
76 typedef void (__cdecl *pfnSDL_CurrentEndThread)(unsigned code); 81 typedef void (__cdecl *pfnSDL_CurrentEndThread)(unsigned code);