mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
Core: BSD IsNan patch #1007
git-svn-id: svn://ultimatepp.org/upp/trunk@8242 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
59409d57eb
commit
834cca34cf
1 changed files with 1 additions and 1 deletions
|
|
@ -337,7 +337,7 @@ inline bool IsInf(double d) { return std::isinf(d); }
|
|||
inline bool IsNaN(double d) { return _isnan(d); }
|
||||
inline bool IsInf(double d) { return !_finite(d) && !_isnan(d); }
|
||||
#endif
|
||||
#elif __APPLE__ || __DragonFly__
|
||||
#elif __APPLE__ || __DragonFly__ || (PLATFORM_BSD && GCC_VERSION >= 40700)
|
||||
inline bool IsNaN(double d) { return std::isnan(d); }
|
||||
inline bool IsInf(double d) { return std::isinf(d); }
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue