include/SDL_thread.h
changeset 5904 a21d78fc998c
parent 5535 96594ac5fd1a
child 5969 3a041d215edc
     1.1 --- a/include/SDL_thread.h	Mon Sep 12 09:00:34 2011 -0700
     1.2 +++ b/include/SDL_thread.h	Mon Sep 12 13:36:38 2011 -0400
     1.3 @@ -90,17 +90,6 @@
     1.4  #include <process.h>            /* This has _beginthread() and _endthread() defined! */
     1.5  #endif
     1.6  
     1.7 -#ifdef __GNUC__
     1.8 -typedef unsigned long (__cdecl * pfnSDL_CurrentBeginThread) (void *, unsigned,
     1.9 -                                                             unsigned
    1.10 -                                                             (__stdcall *
    1.11 -                                                              func) (void *),
    1.12 -                                                             void *arg,
    1.13 -                                                             unsigned,
    1.14 -                                                             unsigned
    1.15 -                                                             *threadID);
    1.16 -typedef void (__cdecl * pfnSDL_CurrentEndThread) (unsigned code);
    1.17 -#else
    1.18  typedef uintptr_t(__cdecl * pfnSDL_CurrentBeginThread) (void *, unsigned,
    1.19                                                          unsigned (__stdcall *
    1.20                                                                    func) (void
    1.21 @@ -108,7 +97,6 @@
    1.22                                                          void *arg, unsigned,
    1.23                                                          unsigned *threadID);
    1.24  typedef void (__cdecl * pfnSDL_CurrentEndThread) (unsigned code);
    1.25 -#endif
    1.26  
    1.27  /**
    1.28   *  Create a thread.