include/SDL_thread.h
changeset 1470 d47d96962fcc
parent 1465 8dfa9a6d69a5
child 1471 9fb0eee04dd9
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);