Skip to content

Commit

Permalink
- added std prefix for linux compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
granzuglia committed Dec 6, 2016
1 parent 7a07b80 commit ee64908
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vcg/math/base.h
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ template<class T> int IsNAN(T t) { return _isnan(t) || (!_finite(t)); }
#elif defined(__MINGW32__) // GCC
template<class T> int IsNAN(T t) { return std::isnan(t) || std::isinf(t); }
#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

template<class T> int IsNAN(T t)
Expand Down

0 comments on commit ee64908

Please sign in to comment.