mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-01-15 10:28:04 +08:00
another fix for BORLANDC
This commit is contained in:
parent
2a10f4a3b8
commit
6649009ffa
@ -33,6 +33,12 @@
|
|||||||
#define snprintf std::snprintf
|
#define snprintf std::snprintf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__BORLANDC__)
|
||||||
|
#include <float.h>
|
||||||
|
#define isfinite _finite
|
||||||
|
#define snprintf _snprintf
|
||||||
|
#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.
|
||||||
#pragma warning(disable : 4996)
|
#pragma warning(disable : 4996)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user