another fix for BORLANDC

This commit is contained in:
Christopher Dunn 2015-04-28 04:57:49 +01:00
parent 2a10f4a3b8
commit 6649009ffa

View File

@ -33,6 +33,12 @@
#define snprintf std::snprintf
#endif
#if defined(__BORLANDC__)
#include <float.h>
#define isfinite _finite
#define snprintf _snprintf
#endif
#if defined(_MSC_VER) && _MSC_VER >= 1400 // VC++ 8.0
// Disable warning about strdup being deprecated.
#pragma warning(disable : 4996)