comparison src/SDL.c @ 543:522e5202014d

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Sun, 17 Nov 2002 18:59:10 +0000
parents 283d348cb624
children 0ce5a68278fd
comparison
equal deleted inserted replaced
542:7a15ee64acc7 543:522e5202014d
239 const SDL_version * SDL_Linked_Version(void) 239 const SDL_version * SDL_Linked_Version(void)
240 { 240 {
241 return(&version); 241 return(&version);
242 } 242 }
243 243
244 #if defined(_WIN32_WCE) 244 #if defined(_WIN32_WCE) || (defined(__WATCOMC__) && defined(BUILD_DLL))
245 /* Need to include DllMain() on Windows CE for some reason.. */ 245 /* Need to include DllMain() on Windows CE and Watcom C for some reason.. */
246 #include <windows.h> 246 #include <windows.h>
247 247
248 BOOL APIENTRY DllMain( HANDLE hModule, 248 BOOL APIENTRY DllMain( HANDLE hModule,
249 DWORD ul_reason_for_call, 249 DWORD ul_reason_for_call,
250 LPVOID lpReserved ) 250 LPVOID lpReserved )
256 case DLL_PROCESS_DETACH: 256 case DLL_PROCESS_DETACH:
257 break; 257 break;
258 } 258 }
259 return TRUE; 259 return TRUE;
260 } 260 }
261 #endif /* _WIN32_WCE */ 261 #endif /* _WIN32_WCE and building DLL with Watcom C */