aboutsummaryrefslogtreecommitdiff
path: root/dep/g3dlite/source/g3dmath.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dep/g3dlite/source/g3dmath.cpp')
-rw-r--r--dep/g3dlite/source/g3dmath.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dep/g3dlite/source/g3dmath.cpp b/dep/g3dlite/source/g3dmath.cpp
index 84e8345bff4..e846f8c6080 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;
}