diff options
author | Paul J. Davis <paul.joseph.davis@gmail.com> | 2011-09-06 15:27:10 -0500 |
---|---|---|
committer | Paul J. Davis <paul.joseph.davis@gmail.com> | 2011-09-22 17:02:47 -0500 |
commit | 34ba230324bb329ce5ed54d703dcb4d84a65ab86 (patch) | |
tree | ea777cf0b2f6682642aaf64c5b3a1a55e4c3a523 /couchjs/c_src/sm.h | |
parent | 8a96880cd02ea9286dea597d213ddf0d4487cbc3 (diff) |
Updated CouchJS to support SpiderMonkey 1.8.5
This is tested against the 1.7.0, 1.8.0rc1, and 1.8.5 tarballs from
Mozilla's FTP directory. It's mostly the same code from trunk minus a
few tweaks to get it past a couple type errors using c++ instead of cc.
Diffstat (limited to 'couchjs/c_src/sm.h')
-rw-r--r-- | couchjs/c_src/sm.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/couchjs/c_src/sm.h b/couchjs/c_src/sm.h new file mode 100644 index 00000000..a40e054d --- /dev/null +++ b/couchjs/c_src/sm.h @@ -0,0 +1,13 @@ +#ifndef COUCHJS_SM_H +#define COUCHJS_SM_H + +#include "config.h" +#ifdef HAVE_JS_JSAPI_H +#include <js/jsapi.h> +#elif HAVE_MOZJS_JSAPI_H +#include <mozjs/jsapi.h> +#else +#include <jsapi.h> +#endif + +#endif // included sm.h |