Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
*** empty log message ***
  • Loading branch information
slouken committed Nov 17, 2002
1 parent 68c8fc8 commit 8f34fa9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/SDL.c
Expand Up @@ -241,8 +241,8 @@ const SDL_version * SDL_Linked_Version(void)
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,
Expand All @@ -258,4 +258,4 @@ BOOL APIENTRY DllMain( HANDLE hModule,
}
return TRUE;
}
#endif /* _WIN32_WCE */
#endif /* _WIN32_WCE and building DLL with Watcom C */
2 changes: 1 addition & 1 deletion src/audio/openbsd/SDL_openbsdaudio.c
Expand Up @@ -304,7 +304,7 @@ audio mode : %s
(info.mode == AUMODE_PLAY) ? "PLAY"
: (info.mode = AUMODE_RECORD) ? "RECORD"
: (info.mode == AUMODE_PLAY_ALL ? "PLAY_ALL"
: "???"));
: "?"));
}
#endif /* DEBUG_AUDIO */

Expand Down
2 changes: 1 addition & 1 deletion src/file/SDL_rwops.c
Expand Up @@ -225,7 +225,7 @@ SDL_RWops *SDL_RWFromFP(FILE *fp, int autoclose)

#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
Expand Down
2 changes: 1 addition & 1 deletion src/video/ps2gs/SDL_gsyuv.c
Expand Up @@ -349,7 +349,7 @@ int GS_DisplayYUVOverlay(_THIS, SDL_Overlay *overlay, SDL_Rect *dstrect)
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;
Expand Down

0 comments on commit 8f34fa9

Please sign in to comment.