зеркало из https://github.com/mozilla/pjs.git
HP-UX's aCC compiler requires main() to return int.
This commit is contained in:
Родитель
d958049abc
Коммит
7d3c515326
|
@ -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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче