提交 ba3fd412 编写于 作者: P phy0292 提交者: Christopher Dunn

BORLAND compatible

上级 3cde9a99
......@@ -18,7 +18,9 @@
#include <memory>
#include <set>
#include <limits>
#if defined(__BORLANDC__)
#include <stdio.h>
#endif
#if defined(_MSC_VER)
#if !defined(WINCE) && defined(__STDC_SECURE_LIB__) && _MSC_VER >= 1500 // VC++ 9.0 and above
#define snprintf sprintf_s
......
......@@ -18,7 +18,9 @@
#endif
#include <cstddef> // size_t
#include <algorithm> // min()
#if defined(__BORLANDC__)
#include <mem.h>
#endif
#define JSON_ASSERT_UNREACHABLE assert(false)
namespace Json {
......
......@@ -16,6 +16,9 @@
#include <cstring>
#include <cstdio>
#if defined(__BORLANDC__)
#include <stdio.h>
#endif
#if defined(_MSC_VER) && _MSC_VER >= 1200 && _MSC_VER < 1800 // Between VC++ 6.0 and VC++ 11.0
#include <float.h>
#define isfinite _finite
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册