diff 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
line wrap: on
line diff
--- a/src/SDL.c	Sun Nov 17 17:56:14 2002 +0000
+++ b/src/SDL.c	Sun Nov 17 18:59:10 2002 +0000
@@ -241,8 +241,8 @@
 	return(&version);
 }
 
-#if defined(_WIN32_WCE)
-/* Need to include DllMain() on Windows CE for some reason.. */
+#if defined(_WIN32_WCE) || (defined(__WATCOMC__) && defined(BUILD_DLL))
+/* Need to include DllMain() on Windows CE and Watcom C for some reason.. */
 #include <windows.h>
 
 BOOL APIENTRY DllMain( HANDLE hModule, 
@@ -258,4 +258,4 @@
 	}
 	return TRUE;
 }
-#endif /* _WIN32_WCE */
+#endif /* _WIN32_WCE and building DLL with Watcom C */