Merge pull request #843 from manang/master

Update json_writer.cpp
This commit is contained in:
Christopher Dunn 2018-12-03 20:20:55 -08:00 committed by GitHub
commit 6219eae304
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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