From 90f0cfb5514b68483a75bd34955433e4739f381b Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sun, 16 Dec 2012 20:51:42 +0000 Subject: allow for JSOPTION_JIT to not be set --- javascript/jsapi.h | 10 ++++++---- 1 file 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 -# 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 -- cgit v1.2.3