diff --git a/libs/win32/js/js.vcproj b/libs/win32/js/js.vcproj index 1558ae844d..82572ee002 100644 --- a/libs/win32/js/js.vcproj +++ b/libs/win32/js/js.vcproj @@ -25,7 +25,7 @@ > diff --git a/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c b/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c index c5ad6e51e5..1cf1c2f422 100644 --- a/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c +++ b/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c @@ -2262,7 +2262,9 @@ static int env_init(JSContext *cx, JSObject *javascript_object) JS_InitStandardClasses(cx, javascript_object); /* this doesnt load in standard classes figure out wtf */ - js_InitFileClass(cx, javascript_object); +#ifndef _MSC_VER //somthing is badly wrong in our build here, need to fix this. + js_InitFileClass(cx, javascript_object); +#endif JS_InitClass(cx, javascript_object,