AP_Common: gcc 4.9.2 behaves differently from 4.9.3

tested 4.9.3 on cygwin, 4.9.2 on ubuntu

I do hope that it doesn't depend on the OS
This commit is contained in:
Andrew Tridgell 2016-06-21 21:34:54 +10:00
parent 224c714c83
commit 2108127712

View File

@ -5,7 +5,7 @@
#ifndef WAF_BUILD
# ifdef __GNUG__
# define _GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)
# if _GCC_VERSION >= 40900
# if _GCC_VERSION >= 40903
# ifndef HAVE_CMATH_ISFINITE
# define HAVE_CMATH_ISFINITE
# define NEED_CMATH_ISFINITE_STD_NAMESPACE