]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/math.h
Applied rowspan patch #15276 (dghart)
[wxWidgets.git] / include / wx / math.h
index 5ce3ff1c36afe30ec839b087249b99edd6a017bb..5240f1759e527b4cf61b840bc53f4fd5a005e83b 100644 (file)
@@ -57,7 +57,7 @@
 #if defined(__VISUALC__) || defined(__BORLANDC__) || defined(__WATCOMC__)
     #include <float.h>
     #define wxFinite(x) _finite(x)
-#elif defined(__MINGW64__)
+#elif defined(__MINGW64__) || defined(__clang__)
     /*
         add more compilers with C99 support here: using C99 isfinite() is
         preferable to using BSD-ish finite()
         }
 
     #else /* !__INTELC__ */
-
+        wxGCC_WARNING_SUPPRESS(float-equal)
         inline bool wxIsSameDouble(double x, double y) { return x == y; }
+        wxGCC_WARNING_RESTORE(float-equal)
 
     #endif /* __INTELC__/!__INTELC__ */