aboutsummaryrefslogtreecommitdiff
path: root/dep/g3dlite/G3D-v8.0_hotfix2.diff
blob: bb66c4a6a293099d5c21191320cc5b36fd26889a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/dep/g3dlite/source/g3dmath.cpp b/dep/g3dlite/source/g3dmath.cpp
index e846f8c..84e8345 100644
--- a/dep/g3dlite/source/g3dmath.cpp
+++ b/dep/g3dlite/source/g3dmath.cpp
@@ -41,7 +41,7 @@ double inf() {
 }

 bool isNaN(float x) {
-    static const float n = nan();
+    static const float n = fnan();
     return memcmp(&x, &n, sizeof(float)) == 0;
 }