Fixed Mac build warnings
git-svn-id: svn://10.0.0.236/trunk@117707 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -149,7 +149,10 @@ static js2val dikdik(Context * /*cx*/, const js2val /*thisValue*/, js2val /*argv
|
||||
|
||||
static js2val quit(Context * /*cx*/, const js2val /*thisValue*/, js2val /*argv*/[], uint32 /*argc*/)
|
||||
{
|
||||
// XXX need correct call for other platforms
|
||||
#ifdef XP_PC
|
||||
exit(0);
|
||||
#endif
|
||||
return kUndefinedValue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user