include/SDL_thread.h
branchSDL-1.2
changeset 11544 15a09f7c6ed8
parent 6137 4720145f848b
equal deleted inserted replaced
11521:e597fa82484b 11544:15a09f7c6ed8
    62  */
    62  */
    63 #define SDL_PASSED_BEGINTHREAD_ENDTHREAD
    63 #define SDL_PASSED_BEGINTHREAD_ENDTHREAD
    64 #ifndef _WIN32_WCE
    64 #ifndef _WIN32_WCE
    65 #include <process.h> /* This has _beginthread() and _endthread() defined! */
    65 #include <process.h> /* This has _beginthread() and _endthread() defined! */
    66 #endif
    66 #endif
       
    67 #ifdef __EMX__
       
    68 #include <stdlib.h>
       
    69 #endif
    67 
    70 
    68 #ifdef __OS2__
    71 #ifdef __OS2__
    69 typedef int (*pfnSDL_CurrentBeginThread)(void (*func)(void *), void *, unsigned, void *arg); 
    72 typedef int (*pfnSDL_CurrentBeginThread)(void (*func)(void *), void *, unsigned, void *arg); 
    70 typedef void (*pfnSDL_CurrentEndThread)(void);
    73 typedef void (*pfnSDL_CurrentEndThread)(void);
    71 #else
    74 #else