Issue#114: check for the presence of isnan and isinf, and provide compat macros on MSCV where _isnan and _finite exist instead.

This commit is contained in:
Eric Haszlakiewicz
2014-03-02 12:16:37 -05:00
parent db117ca02b
commit e6f1322b5e
4 changed files with 42 additions and 1 deletions

View File

@@ -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 */