diff options
author | Vincent Sanders <vince@kyllikki.org> | 2012-12-16 20:51:42 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2012-12-16 20:51:42 +0000 |
commit | 90f0cfb5514b68483a75bd34955433e4739f381b (patch) | |
tree | 8f1d0afcf60a0585f4f1defb920ccdbbcb036ce2 /javascript/jsapi.h | |
parent | b9d6eccf24a7ba1f2242740e981bf6bf3edcd82d (diff) | |
download | netsurf-90f0cfb5514b68483a75bd34955433e4739f381b.tar.gz netsurf-90f0cfb5514b68483a75bd34955433e4739f381b.tar.bz2 |
allow for JSOPTION_JIT to not be set
Diffstat (limited to 'javascript/jsapi.h')
-rw-r--r-- | javascript/jsapi.h | 10 |
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 |