We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4002f8a + 9dc9026 commit 8aec8d8Copy full SHA for 8aec8d8
src/lib_json/json_reader.cpp
@@ -15,6 +15,10 @@
15
#include <cstring>
16
#include <istream>
17
18
+#if defined(_MSC_VER) && _MSC_VER < 1500 // VC++ 8.0 and below
19
+#define snprintf _snprintf
20
+#endif
21
+
22
#if defined(_MSC_VER) && _MSC_VER >= 1400 // VC++ 8.0
23
// Disable warning about strdup being deprecated.
24
#pragma warning(disable : 4996)
src/lib_json/json_writer.cpp
@@ -15,6 +15,12 @@
#include <iomanip>
#include <math.h>
+#include <float.h>
+#define isfinite _finite
25
26
0 commit comments