Fixing composer.app mingw bustage.

Thanks to David G King <d_king@xtra.co.nz> for the patch.
Bug #227896 r=cls sr=brendan
This commit is contained in:
cls%seawood.org 2004-02-12 05:43:43 +00:00
Родитель f93a022373
Коммит ace794400c
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -56,9 +56,12 @@ int main(int argc, char* argv[])
char* splash_xpm[] = {0};
#endif
#ifdef XP_WIN
#if defined XP_WIN && !defined __GNUC__
// We need WinMain in order to not be a console app. This function is
// unused if we are a console application.
//
// However, if using MingW on Win32, we can't use this as GCC complains
// about the use of main.
int WINAPI WinMain( HINSTANCE, HINSTANCE, LPSTR args, int )
{
// Do the real work.