include/SDL_thread.h
changeset 1442 e3242177fe4a
parent 1402 d910939febfa
child 1465 8dfa9a6d69a5
equal deleted inserted replaced
1441:b9f034536fa0 1442:e3242177fe4a
    63 #ifdef __EMX__
    63 #ifdef __EMX__
    64 #include <stdlib.h> // This has _beginthread() and _endthread() defined, if -Zmt flag is used!
    64 #include <stdlib.h> // This has _beginthread() and _endthread() defined, if -Zmt flag is used!
    65 #endif
    65 #endif
    66 
    66 
    67 #ifdef __OS2__
    67 #ifdef __OS2__
    68 typedef int (__cdecl *pfnSDL_CurrentBeginThread)(void (*func)(void *), void *, unsigned, void *arg); 
    68 typedef int (*pfnSDL_CurrentBeginThread)(void (*func)(void *), void *, unsigned, void *arg); 
    69 typedef void (__cdecl *pfnSDL_CurrentEndThread)(void);
    69 typedef void (*pfnSDL_CurrentEndThread)(void);
    70 #else
    70 #else
    71 #ifdef __GNUC__
    71 #ifdef __GNUC__
    72 #include <stdint.h>
    72 #include <stdint.h>
    73 #endif
    73 #endif
    74 typedef uintptr_t (__cdecl *pfnSDL_CurrentBeginThread) (void *, unsigned,
    74 typedef uintptr_t (__cdecl *pfnSDL_CurrentBeginThread) (void *, unsigned,