mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 16:37:00 +00:00
[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:
parent
00751347e5
commit
425352fcc7
3 changed files with 5 additions and 3 deletions
|
|
@ -30,7 +30,7 @@ Windows:
|
||||||
|
|
||||||
1. Building
|
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)
|
Resulting binaries will be in contrib\vmap_extractor_v2\bin\$(PlatformName)_$(ConfigurationName)
|
||||||
|
|
||||||
2. Extracting
|
2. Extracting
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "10175"
|
#define REVISION_NR "10176"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,9 @@
|
||||||
#define MAX_STACK_SIZE 64
|
#define MAX_STACK_SIZE 64
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#define isnan(x) _isnan(x)
|
#define isnan(x) _isnan(x)
|
||||||
|
#else
|
||||||
|
#define isnan(x) std::isnan(x)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
using G3D::Vector3;
|
using G3D::Vector3;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue