Update json_writer.cpp

This commit is contained in:
manang 2018-12-03 10:26:27 +01:00 committed by GitHub
parent d501fbe741
commit b955e0f699
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,10 +72,12 @@
#define isnan(x) (x != x) #define isnan(x) (x != x)
#endif #endif
#if !defined(__APPLE__)
#if !defined(isfinite) #if !defined(isfinite)
#define isfinite finite #define isfinite finite
#endif #endif
#endif #endif
#endif
#if defined(_MSC_VER) && _MSC_VER >= 1400 // VC++ 8.0 #if defined(_MSC_VER) && _MSC_VER >= 1400 // VC++ 8.0
// Disable warning about strdup being deprecated. // Disable warning about strdup being deprecated.