зеркало из https://github.com/mozilla/pjs.git
fixing mac bustage (we do reference argc/argv, to initialize them to something sensible).
This commit is contained in:
Родитель
7ba3614b25
Коммит
39551bc785
|
@ -394,7 +394,7 @@ namespace Shell {
|
|||
} /* namespace JavaScript */
|
||||
|
||||
|
||||
int main(int /* argc */, char /* **argv */)
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
#if defined(XP_MAC) && !defined(XP_MAC_MPW)
|
||||
initConsole("\pJavaScript Shell", "Welcome to the js2 shell.\n", argc, argv);
|
||||
|
|
|
@ -394,7 +394,7 @@ namespace Shell {
|
|||
} /* namespace JavaScript */
|
||||
|
||||
|
||||
int main(int /* argc */, char /* **argv */)
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
#if defined(XP_MAC) && !defined(XP_MAC_MPW)
|
||||
initConsole("\pJavaScript Shell", "Welcome to the js2 shell.\n", argc, argv);
|
||||
|
|
Загрузка…
Ссылка в новой задаче