summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2012-12-16 20:51:42 +0000
committerVincent Sanders <vince@kyllikki.org>2012-12-16 20:51:42 +0000
commit90f0cfb5514b68483a75bd34955433e4739f381b (patch)
tree8f1d0afcf60a0585f4f1defb920ccdbbcb036ce2
parentb9d6eccf24a7ba1f2242740e981bf6bf3edcd82d (diff)
downloadnetsurf-90f0cfb5514b68483a75bd34955433e4739f381b.tar.gz
netsurf-90f0cfb5514b68483a75bd34955433e4739f381b.tar.bz2
allow for JSOPTION_JIT to not be set
-rw-r--r--javascript/jsapi.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/javascript/jsapi.h b/javascript/jsapi.h
index d757b7fda..e3295fee9 100644
--- a/javascript/jsapi.h
+++ b/javascript/jsapi.h
@@ -35,11 +35,13 @@
#include <string.h>
-# ifndef JSVERSION_LATEST
-# define JSVERSION_LATEST JS_VERSION
-# endif
-
+#ifndef JSVERSION_LATEST
+#define JSVERSION_LATEST JS_VERSION
+#endif
+#ifndef JSOPTION_JIT
+#define JSOPTION_JIT 0
+#endif
/* *CAUTION* these native function macros introduce and use jsapi_this
* and jsapi_rval variables, native function code should not conflict