src/SDL.c
changeset 543 522e5202014d
parent 397 283d348cb624
child 557 0ce5a68278fd
     1.1 --- a/src/SDL.c	Sun Nov 17 17:56:14 2002 +0000
     1.2 +++ b/src/SDL.c	Sun Nov 17 18:59:10 2002 +0000
     1.3 @@ -241,8 +241,8 @@
     1.4  	return(&version);
     1.5  }
     1.6  
     1.7 -#if defined(_WIN32_WCE)
     1.8 -/* Need to include DllMain() on Windows CE for some reason.. */
     1.9 +#if defined(_WIN32_WCE) || (defined(__WATCOMC__) && defined(BUILD_DLL))
    1.10 +/* Need to include DllMain() on Windows CE and Watcom C for some reason.. */
    1.11  #include <windows.h>
    1.12  
    1.13  BOOL APIENTRY DllMain( HANDLE hModule, 
    1.14 @@ -258,4 +258,4 @@
    1.15  	}
    1.16  	return TRUE;
    1.17  }
    1.18 -#endif /* _WIN32_WCE */
    1.19 +#endif /* _WIN32_WCE and building DLL with Watcom C */