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.
1 parent 7020451 commit 2f20346Copy full SHA for 2f20346
src/lib_json/json_writer.cpp
@@ -16,10 +16,9 @@
16
#include <cstring>
17
#include <cstdio>
18
19
-#if defined(_MSC_VER) && _MSC_VER >= 1200 // VC++ 6.0 and above
+#if defined(_MSC_VER) && _MSC_VER >= 1200 && _MSC_VER < 1800 // Between VC++ 6.0 and VC++ 11.0
20
#include <float.h>
21
#define isfinite _finite
22
-#define snprintf _snprintf
23
#elif defined(__sun) && defined(__SVR4) //Solaris
24
#include <ieeefp.h>
25
#define isfinite finite
@@ -29,7 +28,6 @@
29
28
#endif
30
31
#if defined(_MSC_VER) && _MSC_VER < 1500 // VC++ 8.0 and below
32
-#include <float.h>
33
#define snprintf _snprintf
34
35
0 commit comments