зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
f93a022373
Коммит
ace794400c
|
@ -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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче