comparison include/SDL_thread.h @ 1402:d910939febfa

Use consistent identifiers for the various platforms we support. Make sure every source file includes SDL_config.h, so the proper system headers are chosen.
author Sam Lantinga <slouken@libsdl.org>
date Tue, 21 Feb 2006 08:46:50 +0000
parents c71e05b4dc2e
children e3242177fe4a
comparison
equal deleted inserted replaced
1401:1819fd069e89 1402:d910939febfa
43 /* The SDL thread structure, defined in SDL_thread.c */ 43 /* The SDL thread structure, defined in SDL_thread.c */
44 struct SDL_Thread; 44 struct SDL_Thread;
45 typedef struct SDL_Thread SDL_Thread; 45 typedef struct SDL_Thread SDL_Thread;
46 46
47 /* Create a thread */ 47 /* Create a thread */
48 #if defined(_WIN32) || defined(__OS2__) 48 #if defined(__WIN32__) || defined(__OS2__)
49 /* 49 /*
50 We compile SDL into a DLL on OS/2. This means, that it's the DLL which 50 We compile SDL into a DLL on OS/2. This means, that it's the DLL which
51 creates a new thread for the calling process with the SDL_CreateThread() 51 creates a new thread for the calling process with the SDL_CreateThread()
52 API. There is a problem with this, that only the RTL of the SDL.DLL will 52 API. There is a problem with this, that only the RTL of the SDL.DLL will
53 be initialized for those threads, and not the RTL of the calling application! 53 be initialized for those threads, and not the RTL of the calling application!