Commit 34741553 authored by Ivan Shynkarenka's avatar Ivan Shynkarenka

MinGW build failed

parent b0403a7d
...@@ -243,7 +243,7 @@ DECL_UNSIGNED_INT_LIMITS(unsigned long long int) ...@@ -243,7 +243,7 @@ DECL_UNSIGNED_INT_LIMITS(unsigned long long int)
#endif #endif
// ========================================================================= // // ========================================================================= //
#ifdef WIN32 // Lacks built-in isnan() and isinf() #if WIN32 && !__MINGW32__ // Lacks built-in isnan() and isinf()
#define DECL_FP_LIMIT_FUNCS \ #define DECL_FP_LIMIT_FUNCS \
static bool IsFinite(const Type x) { return _finite(x); } \ static bool IsFinite(const Type x) { return _finite(x); } \
static bool IsNaN(const Type x) { return _isnan(x); } \ static bool IsNaN(const Type x) { return _isnan(x); } \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment