Bug 474366: OS/2 build break in xpcshell.cpp due to bug 470914, p=wuno@lsvw, r=ted.mielczarek

This commit is contained in:
Peter Weilbacher 2009-01-30 10:19:43 +01:00
Родитель 8f6551dd04
Коммит fa09fefb49
1 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -123,10 +123,10 @@ nsAutoString *gWorkingDirectory = nsnull;
static JSBool
GetLocationProperty(JSContext *cx, JSObject *obj, jsval id, jsval *vp)
{
#if !defined(XP_WIN) && !defined(XP_UNIX)
#if !defined(XP_WIN) && !defined(XP_UNIX) || defined(WINCE)
//XXX: your platform should really implement this
return JS_FALSE
#endif
return JS_FALSE;
#else
JSStackFrame *fp = JS_GetScriptedCaller(cx, NULL);
JSScript *script = JS_GetFrameScript(cx, fp);
const char *filename = JS_GetScriptFilename(cx, script);
@ -196,6 +196,7 @@ GetLocationProperty(JSContext *cx, JSObject *obj, jsval id, jsval *vp)
}
return JS_TRUE;
#endif
}
static JSBool