*** empty log message ***
authorSam Lantinga <slouken@libsdl.org>
Sun, 17 Nov 2002 18:59:10 +0000
changeset 543522e5202014d
parent 542 7a15ee64acc7
child 544 2d7373ffd131
*** empty log message ***
src/SDL.c
src/audio/openbsd/SDL_openbsdaudio.c
src/file/SDL_rwops.c
src/video/ps2gs/SDL_gsyuv.c
     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 */
     2.1 --- a/src/audio/openbsd/SDL_openbsdaudio.c	Sun Nov 17 17:56:14 2002 +0000
     2.2 +++ b/src/audio/openbsd/SDL_openbsdaudio.c	Sun Nov 17 18:59:10 2002 +0000
     2.3 @@ -304,7 +304,7 @@
     2.4      (info.mode == AUMODE_PLAY) ? "PLAY"
     2.5      : (info.mode = AUMODE_RECORD) ? "RECORD"
     2.6      : (info.mode == AUMODE_PLAY_ALL ? "PLAY_ALL"
     2.7 -    : "???"));
     2.8 +    : "?"));
     2.9  }
    2.10  #endif /* DEBUG_AUDIO */
    2.11  
     3.1 --- a/src/file/SDL_rwops.c	Sun Nov 17 17:56:14 2002 +0000
     3.2 +++ b/src/file/SDL_rwops.c	Sun Nov 17 18:59:10 2002 +0000
     3.3 @@ -225,7 +225,7 @@
     3.4  
     3.5  #ifdef WIN32
     3.6  	if ( ! in_sdl ) {
     3.7 -		SDL_SetError("You can't pass a FILE pointer to a DLL (??)");
     3.8 +		SDL_SetError("You can't pass a FILE pointer to a DLL (?)");
     3.9  		/*return(NULL);*/
    3.10  	}
    3.11  #endif
     4.1 --- a/src/video/ps2gs/SDL_gsyuv.c	Sun Nov 17 17:56:14 2002 +0000
     4.2 +++ b/src/video/ps2gs/SDL_gsyuv.c	Sun Nov 17 18:59:10 2002 +0000
     4.3 @@ -349,7 +349,7 @@
     4.4  		Cr =  (Uint32 *)overlay->pixels[2];
     4.5  		Cb =  (Uint32 *)overlay->pixels[1];
     4.6  	    default:
     4.7 -		SDL_SetError("Unsupported YUV format in blit (??)");
     4.8 +		SDL_SetError("Unsupported YUV format in blit (?)");
     4.9  		return(-1);
    4.10  	}
    4.11  	dst = (Uint32 *)hwdata->ipu_imem;