- added std prefix for linux compiler

This commit is contained in:
Guido Ranzuglia 2016-12-06 11:09:31 +01:00
parent 7a07b8020c
commit ee64908ff7
1 changed files with 1 additions and 1 deletions

View File

@ -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)