include/SDL_thread.h
changeset 1465 8dfa9a6d69a5
parent 1442 e3242177fe4a
child 1470 d47d96962fcc
     1.1 --- a/include/SDL_thread.h	Sat Mar 04 05:13:03 2006 +0000
     1.2 +++ b/include/SDL_thread.h	Sat Mar 04 08:24:35 2006 +0000
     1.3 @@ -59,7 +59,9 @@
     1.4     So, in short:
     1.5     Always use the _beginthread() and _endthread() of the calling runtime library!
     1.6  */
     1.7 +#ifndef _WIN32_WCE
     1.8  #include <process.h> // This has _beginthread() and _endthread() defined!
     1.9 +#endif
    1.10  #ifdef __EMX__
    1.11  #include <stdlib.h> // This has _beginthread() and _endthread() defined, if -Zmt flag is used!
    1.12  #endif
    1.13 @@ -68,9 +70,6 @@
    1.14  typedef int (*pfnSDL_CurrentBeginThread)(void (*func)(void *), void *, unsigned, void *arg); 
    1.15  typedef void (*pfnSDL_CurrentEndThread)(void);
    1.16  #else
    1.17 -#ifdef __GNUC__
    1.18 -#include <stdint.h>
    1.19 -#endif
    1.20  typedef uintptr_t (__cdecl *pfnSDL_CurrentBeginThread) (void *, unsigned,
    1.21          unsigned (__stdcall *func)(void *), void *arg, 
    1.22          unsigned, unsigned *threadID);