From b955e0f69992a1fc855d09a207d2bdfe986dc2a0 Mon Sep 17 00:00:00 2001 From: manang Date: Mon, 3 Dec 2018 10:26:27 +0100 Subject: [PATCH] Update json_writer.cpp --- src/lib_json/json_writer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib_json/json_writer.cpp b/src/lib_json/json_writer.cpp index 47f413d..a8b56ff 100644 --- a/src/lib_json/json_writer.cpp +++ b/src/lib_json/json_writer.cpp @@ -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.