- added std prefix for linux compiler
This commit is contained in:
parent
7a07b8020c
commit
ee64908ff7
|
@ -196,7 +196,7 @@ template<class T> int IsNAN(T t) { return _isnan(t) || (!_finite(t)); }
|
||||||
#elif defined(__MINGW32__) // GCC
|
#elif defined(__MINGW32__) // GCC
|
||||||
template<class T> int IsNAN(T t) { return std::isnan(t) || std::isinf(t); }
|
template<class T> int IsNAN(T t) { return std::isnan(t) || std::isinf(t); }
|
||||||
#elif defined(__GNUC__) // GCC
|
#elif defined(__GNUC__) // GCC
|
||||||
template<class T> int IsNAN(T t) { return isnan(t) || isinf(t); }
|
template<class T> int IsNAN(T t) { return std::isnan(t) || std::isinf(t); }
|
||||||
#else // generic
|
#else // generic
|
||||||
|
|
||||||
template<class T> int IsNAN(T t)
|
template<class T> int IsNAN(T t)
|
||||||
|
|
Loading…
Reference in New Issue