[10176] Use std::isnan in the hope more non-MS platforms provide it.

Note that G3D::isNaN() is simply wrong IMHO...and not even inlined.
One day, there will be a usable C++ standard not light-years behind good old C...
This commit is contained in:
Lynx3d 2010-07-10 13:54:19 +02:00
parent 00751347e5
commit 425352fcc7
3 changed files with 5 additions and 3 deletions

View file

@ -34,7 +34,9 @@
#define MAX_STACK_SIZE 64
#ifdef _MSC_VER
#define isnan(x) _isnan(x)
#define isnan(x) _isnan(x)
#else
#define isnan(x) std::isnan(x)
#endif
using G3D::Vector3;