ref: a42d36ba8e43455a9785008c3e811bf332b05784
parent: e766ed71f819c1e22bdb05d93a369f07759c2dfc
author: Tor Andersson <tor@ccxvii.net>
date: Tue Feb 25 06:35:10 EST 2014
Potential win32 MSVC compilation fixes.
--- a/jsi.h
+++ b/jsi.h
@@ -12,6 +12,12 @@
#include <math.h>
#include <float.h>
+#ifdef _WIN32
+#define inline __inline
+#define snprintf _snprintf
+#define vsnprintf _vsnprintf
+#endif
+
typedef struct js_Regexp js_Regexp;
typedef struct js_Value js_Value;
typedef struct js_Object js_Object;