mirror of https://github.com/ArduPilot/ardupilot
AP_HAL: Don't redefine allowing double math in SITL/Linux if already defined
This commit is contained in:
parent
56b743dfca
commit
d905282c1e
|
@ -10,7 +10,9 @@
|
|||
/*
|
||||
allow double maths on Linux and SITL to avoid problems with system headers
|
||||
*/
|
||||
#define ALLOW_DOUBLE_MATH_FUNCTIONS
|
||||
#if !defined(ALLOW_DOUBLE_MATH_FUNCTIONS)
|
||||
#define ALLOW_DOUBLE_MATH_FUNCTIONS
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// we need to include math.h here for newer compilers (eg. g++ 7.3.1 for stm32)
|
||||
|
|
Loading…
Reference in New Issue