From d104271364223926fcc03b943469f38a15a6b3ed Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Wed, 14 Oct 2020 14:41:34 -0700 Subject: [PATCH] Build fix for pre-C++11 compilers Broken by b5a554b9a6 (Avoid -Wdouble-promotion warnings, 2020-10-14) --- include/wx/math.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/math.h b/include/wx/math.h index b2eea32c2a..138f28e01d 100644 --- a/include/wx/math.h +++ b/include/wx/math.h @@ -53,13 +53,13 @@ #ifdef __cplusplus +#include + /* Things are simple with C++11: we have everything we need in std. Eventually we will only have this section and not the legacy stuff below. */ #if __cplusplus >= 201103 - #include - #define wxFinite(x) std::isfinite(x) #define wxIsNaN(x) std::isnan(x) #else /* C++98 */