summaryrefslogtreecommitdiff
path: root/json_object.c
diff options
context:
space:
mode:
authorEric Haszlakiewicz <erh+git@nimenees.com>2014-03-02 12:16:37 -0500
committerEric Haszlakiewicz <erh+git@nimenees.com>2014-03-02 12:16:37 -0500
commite6f1322b5e0fbbd5b8767b60c5fe34ff4468ec42 (patch)
tree268b98c1cc6987a728d8646a34e37881169010e3 /json_object.c
parentdb117ca02bdd744a54f7258a2927aa97edbc5f0d (diff)
Issue#114: check for the presence of isnan and isinf, and provide compat macros on MSCV where _isnan and _finite exist instead.
Diffstat (limited to 'json_object.c')
-rw-r--r--json_object.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/json_object.c b/json_object.c
index 377ab59..6cc73bc 100644
--- a/json_object.c
+++ b/json_object.c
@@ -27,6 +27,7 @@
#include "json_object.h"
#include "json_object_private.h"
#include "json_util.h"
+#include "math_compat.h"
#if !defined(HAVE_STRDUP) && defined(_MSC_VER)
/* MSC has the version as _strdup */