shithub: libmujs

Download patch

ref: 81388eb40d29f10599ac30dde90e683a3c254375
parent: 9f0f88b8caa30fb804f739103cd948b37a48d3e7
author: Tor Andersson <[email protected]>
date: Wed Aug 9 12:10:33 EDT 2017

Add stdint.h MSVC workaround for jsnumber.c also.

--- a/jsnumber.c
+++ b/jsnumber.c
@@ -2,7 +2,7 @@
 #include "jsvalue.h"
 #include "jsbuiltin.h"
 
-#ifdef _MSC_VER
+#if defined(_MSC_VER) && (_MSC_VER < 1700) /* VS2012 has stdint.h */
 typedef unsigned __int64 uint64_t;
 #else
 #include <stdint.h>