diff options
author | Paul Joseph Davis <davisp@apache.org> | 2011-10-18 16:19:51 -0500 |
---|---|---|
committer | Paul Joseph Davis <davisp@apache.org> | 2011-10-18 16:34:33 -0500 |
commit | 7c6e5f0f4340e997a761ff5ca627422fea90d4cc (patch) | |
tree | 3836fc5962055832a27b00940811dc43b596e4c8 /src/couchdb/priv/couch_js/sm185.c | |
parent | 7ce9e103e50678a38c78607f2441340cd6d688da (diff) |
Minor fixes to link agianst SpiderMonkey trunk
This patch allows couchjs to link against the SpiderMonkey as it existed
in the mercurial hash 59c1e6bdb11 from [1]. This does *not* ensure
compatibility with CouchDB as there are other things that will also need
to be fixed. Specifically, the anonymous function issue for builtin JS
functions.
[1] http://hg.mozilla.org/mozilla-central/
Diffstat (limited to 'src/couchdb/priv/couch_js/sm185.c')
-rw-r--r-- | src/couchdb/priv/couch_js/sm185.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/priv/couch_js/sm185.c b/src/couchdb/priv/couch_js/sm185.c index 701d5677..6a4522e7 100644 --- a/src/couchdb/priv/couch_js/sm185.c +++ b/src/couchdb/priv/couch_js/sm185.c @@ -310,7 +310,7 @@ main(int argc, const char* argv[]) JSObject* global = NULL; JSCrossCompartmentCall *call = NULL; JSObject* klass = NULL; - JSObject* script; + JSSCRIPT_TYPE script; JSString* scriptsrc; const jschar* schars; size_t slen; |