patch from will levine to fix building with mingw gcc 3.3.1 (bug 220433).

git-svn-id: svn://10.0.0.236/trunk@147473 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bryner%brianryner.com
2003-10-01 01:17:56 +00:00
parent d67d8db36f
commit dc9d8b1a54
2 changed files with 2 additions and 4 deletions

View File

@@ -55,7 +55,7 @@ int main(int argc, char* argv[])
char* splash_xpm[] = {0};
#endif
#ifdef XP_WIN
#if defined( XP_WIN ) && defined( WIN32 ) && !defined(__GNUC__)
// We need WinMain in order to not be a console app. This function is
// unused if we are a console application.
int WINAPI WinMain( HINSTANCE, HINSTANCE, LPSTR args, int )

View File

@@ -54,9 +54,7 @@ IDD_SPLASH DIALOGEX
FONT 8, "MS Sans Serif"
BEGIN
CONTROL
#ifndef __MINGW32__
IDB_SPLASH,
#endif
IDB_SPLASH,
IDB_SPLASH,
"Static",
SS_BITMAP,