From: Stefan Csomor Date: Fri, 18 May 2012 10:34:32 +0000 (+0000) Subject: fixing c++11 build X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9ce18df82e67d86099db8a162c4388d891cbcc6c?ds=sidebyside fixing c++11 build git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/math.h b/include/wx/math.h index 5ce3ff1c36..98477e604e 100644 --- a/include/wx/math.h +++ b/include/wx/math.h @@ -57,7 +57,7 @@ #if defined(__VISUALC__) || defined(__BORLANDC__) || defined(__WATCOMC__) #include #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()