comparison src/SDL.c @ 36:13ee9f4834ea

Windows CE patches contributed by Rainer Loritz
author Sam Lantinga <slouken@lokigames.com>
date Wed, 23 May 2001 23:35:10 +0000
parents 74212992fb08
children e8157fcb3114
comparison
equal deleted inserted replaced
35:d3bc792e136d 36:13ee9f4834ea
229 const SDL_version * SDL_Linked_Version(void) 229 const SDL_version * SDL_Linked_Version(void)
230 { 230 {
231 return(&version); 231 return(&version);
232 } 232 }
233 233
234 #if defined(_WIN32_WCE)
235 /* Need to include DllMain() on Windows CE for some reason.. */
236 #include <windows.h>
237
238 BOOL APIENTRY DllMain( HANDLE hModule,
239 DWORD ul_reason_for_call,
240 LPVOID lpReserved )
241 {
242 switch (ul_reason_for_call) {
243 case DLL_PROCESS_ATTACH:
244 case DLL_THREAD_ATTACH:
245 case DLL_THREAD_DETACH:
246 case DLL_PROCESS_DETACH:
247 break;
248 }
249 return TRUE;
250 }
251 #endif /* _WIN32_WCE */