diff --git a/include/wx/math.h b/include/wx/math.h index 2787163f78..89a1b94473 100644 --- a/include/wx/math.h +++ b/include/wx/math.h @@ -60,7 +60,7 @@ #elif defined(__VISUALC__) || defined(__BORLANDC__) || defined(__WATCOMC__) #include #define wxFinite(x) _finite(x) -#elif defined(__MINGW64__) || defined(__clang__) +#elif defined(__MINGW64_TOOLCHAIN__) || defined(__clang__) /* add more compilers with C99 support here: using C99 isfinite() is preferable to using BSD-ish finite()