summaryrefslogtreecommitdiff
path: root/www/xulrunner/files/patch-js_src_liveconnect_nsISecureLiveconnect.h
diff options
context:
space:
mode:
Diffstat (limited to 'www/xulrunner/files/patch-js_src_liveconnect_nsISecureLiveconnect.h')
-rw-r--r--www/xulrunner/files/patch-js_src_liveconnect_nsISecureLiveconnect.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/www/xulrunner/files/patch-js_src_liveconnect_nsISecureLiveconnect.h b/www/xulrunner/files/patch-js_src_liveconnect_nsISecureLiveconnect.h
new file mode 100644
index 000000000000..a672de913dd6
--- /dev/null
+++ b/www/xulrunner/files/patch-js_src_liveconnect_nsISecureLiveconnect.h
@@ -0,0 +1,14 @@
+--- js/src/liveconnect/nsISecureLiveconnect.h.orig 2007-10-09 20:03:00.000000000 -0400
++++ js/src/liveconnect/nsISecureLiveconnect.h 2007-10-09 20:03:50.000000000 -0400
+@@ -51,7 +51,11 @@
+ #include "nsIFactory.h"
+ #include "jni.h"
+
++#if JS_BYTES_PER_WORD == 8
++typedef jlong jsobject;
++#else
+ typedef jint jsobject;
++#endif
+
+ class nsISecureLiveconnect : public nsISupports {
+ public: