[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

@ -30,7 +30,7 @@ Windows:
1. Building
Just buid the solution in contrib\vmap_extractor_v2\win
Just build the solution in contrib\vmap_extractor_v2\win
Resulting binaries will be in contrib\vmap_extractor_v2\bin\$(PlatformName)_$(ConfigurationName)
2. Extracting

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "10175"
#define REVISION_NR "10176"
#endif // __REVISION_NR_H__

View file

@ -35,6 +35,8 @@
#ifdef _MSC_VER
#define isnan(x) _isnan(x)
#else
#define isnan(x) std::isnan(x)
#endif
using G3D::Vector3;