OSSP CVS Repository

ossp - Difference in ossp-pkg/js/src/js.c versions 1.5 and 1.6
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/js/src/js.c 1.5 -> 1.6

--- js.c 2006/08/03 12:30:16     1.5
+++ js.c 2006/08/03 12:41:28     1.6
@@ -64,7 +64,7 @@
 #include "jsscript.h"
 
 #ifdef OSSP
-#if JS_HAS_FILE_OBJECT
+#if defined(JS_HAS_FILE_OBJECT) && (JS_HAS_FILE_OBJECT - 0) /* OSSP BUGFIX */
 #include "jsfile.h"
 #endif
 #endif
@@ -2533,7 +2533,7 @@
     if (!JS_InitStandardClasses(cx, glob))
         return 1;
 #ifdef OSSP
-#if JS_HAS_FILE_OBJECT
+#if defined(JS_HAS_FILE_OBJECT) && (JS_HAS_FILE_OBJECT - 0) /* OSSP BUGFIX */
     if (!js_InitFileClass(cx, glob))
         return 1;
 #endif

CVSTrac 2.0.1