From 224c714c83401d607e686e8ba4899347fc035f1c Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 21 Jun 2016 19:18:53 +1000 Subject: [PATCH] AP_Common: this workaround for missing/cmath is also needed for gcc 4.9.3 tested on cygwin with 4.9.3 --- libraries/AP_Common/missing/cmath | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Common/missing/cmath b/libraries/AP_Common/missing/cmath index 69f6e7bd96..c735dd052f 100644 --- a/libraries/AP_Common/missing/cmath +++ b/libraries/AP_Common/missing/cmath @@ -5,7 +5,7 @@ #ifndef WAF_BUILD # ifdef __GNUG__ # define _GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) -# if _GCC_VERSION >= 50300 +# if _GCC_VERSION >= 40900 # ifndef HAVE_CMATH_ISFINITE # define HAVE_CMATH_ISFINITE # define NEED_CMATH_ISFINITE_STD_NAMESPACE