From 8ec0146721bea6e70157a4024ce685c41431fc92 Mon Sep 17 00:00:00 2001 From: Shauren Date: Tue, 4 Sep 2012 14:43:32 +0200 Subject: Dep/G3D: Restored 99c8399772701af9bf3c79e4c514aead57cdc7d6 --- dep/g3dlite/source/g3dmath.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dep/g3dlite/source/g3dmath.cpp') 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; } -- cgit v1.2.3