ossp-pkg/js/src/js.c 1.6 -> 1.7
--- js.c 2006/08/03 12:41:28 1.6
+++ js.c 2006/08/03 13:19:20 1.7
@@ -67,6 +67,9 @@
#if defined(JS_HAS_FILE_OBJECT) && (JS_HAS_FILE_OBJECT - 0) /* OSSP BUGFIX */
#include "jsfile.h"
#endif
+#if defined(JS_HAS_DSO_OBJECT) && (JS_HAS_DSO_OBJECT -0)
+#include "jsdso.h"
+#endif
#endif
#ifdef PERLCONNECT
@@ -2537,6 +2540,10 @@
if (!js_InitFileClass(cx, glob))
return 1;
#endif
+#if defined(JS_HAS_DSO_OBJECT) && (JS_HAS_DSO_OBJECT - 0)
+ if (!js_InitDSOClass(cx, glob))
+ return 1;
+#endif
#endif
#endif
if (!JS_DefineFunctions(cx, glob, shell_functions))
|
|