include/SDL_thread.h
branchSDL-1.2
changeset 5897 90faab009401
parent 5892 eca95aaa02a2
child 5899 1f0b95cc4b85
     1.1 --- a/include/SDL_thread.h	Sun Sep 11 15:24:44 2011 -0400
     1.2 +++ b/include/SDL_thread.h	Sun Sep 11 22:31:53 2011 -0400
     1.3 @@ -68,6 +68,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 defined(__CYGWIN__) && !defined(__MINGW32__)
     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,