# HG changeset patch # User Sam Lantinga # Date 1037559550 0 # Node ID 522e5202014d00f0842b4159ce5bc9188d09f1d0 # Parent 7a15ee64acc706c5995641e1a6ecb173f32d6d86 *** empty log message *** diff -r 7a15ee64acc7 -r 522e5202014d src/SDL.c --- 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 BOOL APIENTRY DllMain( HANDLE hModule, @@ -258,4 +258,4 @@ } return TRUE; } -#endif /* _WIN32_WCE */ +#endif /* _WIN32_WCE and building DLL with Watcom C */ diff -r 7a15ee64acc7 -r 522e5202014d src/audio/openbsd/SDL_openbsdaudio.c --- a/src/audio/openbsd/SDL_openbsdaudio.c Sun Nov 17 17:56:14 2002 +0000 +++ b/src/audio/openbsd/SDL_openbsdaudio.c Sun Nov 17 18:59:10 2002 +0000 @@ -304,7 +304,7 @@ (info.mode == AUMODE_PLAY) ? "PLAY" : (info.mode = AUMODE_RECORD) ? "RECORD" : (info.mode == AUMODE_PLAY_ALL ? "PLAY_ALL" - : "???")); + : "?")); } #endif /* DEBUG_AUDIO */ diff -r 7a15ee64acc7 -r 522e5202014d src/file/SDL_rwops.c --- a/src/file/SDL_rwops.c Sun Nov 17 17:56:14 2002 +0000 +++ b/src/file/SDL_rwops.c Sun Nov 17 18:59:10 2002 +0000 @@ -225,7 +225,7 @@ #ifdef WIN32 if ( ! in_sdl ) { - SDL_SetError("You can't pass a FILE pointer to a DLL (??)"); + SDL_SetError("You can't pass a FILE pointer to a DLL (?)"); /*return(NULL);*/ } #endif diff -r 7a15ee64acc7 -r 522e5202014d src/video/ps2gs/SDL_gsyuv.c --- a/src/video/ps2gs/SDL_gsyuv.c Sun Nov 17 17:56:14 2002 +0000 +++ b/src/video/ps2gs/SDL_gsyuv.c Sun Nov 17 18:59:10 2002 +0000 @@ -349,7 +349,7 @@ Cr = (Uint32 *)overlay->pixels[2]; Cb = (Uint32 *)overlay->pixels[1]; default: - SDL_SetError("Unsupported YUV format in blit (??)"); + SDL_SetError("Unsupported YUV format in blit (?)"); return(-1); } dst = (Uint32 *)hwdata->ipu_imem;