mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
HP-UX's aCC compiler requires main() to return int.
This commit is contained in:
parent
2351a1ae9e
commit
a11f987e0c
@ -42,12 +42,13 @@ int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmd
|
||||
#endif
|
||||
|
||||
#ifdef XP_UNIX
|
||||
void main(int argc, char **argv)
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
int argC = argc;
|
||||
|
||||
WidgetTest(&argC, argv);
|
||||
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user