Browse Source

Fix cmath includes on GNU

rdb 11 years ago
parent
commit
ab5e4f496b
1 changed files with 1 additions and 6 deletions
  1. 1 6
      dtool/src/dtoolbase/cmath.h

+ 1 - 6
dtool/src/dtoolbase/cmath.h

@@ -24,13 +24,8 @@
 #include "dtoolbase.h"
 
 #include <cmath>
-
-// Windows defines isnan() in a different place and with a different
-// name than everyone else.  Sheesh.
-#ifdef _WIN32
-#include <float.h>
+#include <cfloat>
 #include <limits>
-#endif
 
 INLINE float csqrt(float v);
 INLINE float csin(float v);