include/SDL_thread.h
changeset 1470 d47d96962fcc
parent 1465 8dfa9a6d69a5
child 1471 9fb0eee04dd9
     1.1 --- a/include/SDL_thread.h	Mon Mar 06 01:34:36 2006 +0000
     1.2 +++ b/include/SDL_thread.h	Mon Mar 06 06:00:45 2006 +0000
     1.3 @@ -69,6 +69,11 @@
     1.4  #ifdef __OS2__
     1.5  typedef int (*pfnSDL_CurrentBeginThread)(void (*func)(void *), void *, unsigned, void *arg); 
     1.6  typedef void (*pfnSDL_CurrentEndThread)(void);
     1.7 +#elif __GNUC__
     1.8 +typedef unsigned long (__cdecl *pfnSDL_CurrentBeginThread) (void *, unsigned,
     1.9 +        unsigned (__stdcall *func)(void *), void *arg, 
    1.10 +        unsigned, unsigned *threadID);
    1.11 +typedef void (__cdecl *pfnSDL_CurrentEndThread)(unsigned code);
    1.12  #else
    1.13  typedef uintptr_t (__cdecl *pfnSDL_CurrentBeginThread) (void *, unsigned,
    1.14          unsigned (__stdcall *func)(void *), void *arg,