mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 05:23:34 +08:00
QuRT: Fixed PX4_ISFINITE
QuRT needs to use the builtin version of isfinite so for the qurt build PX4_ISFINITE(x) is defined as __builtin_isfinite(x). Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -225,7 +225,7 @@ __END_DECLS
|
||||
#define SIOCDEVPRIVATE 999999
|
||||
|
||||
// Missing math.h defines
|
||||
#define PX4_ISFINITE(x) isfinite(x)
|
||||
#define PX4_ISFINITE(x) __builtin_isfinite(x)
|
||||
|
||||
// FIXME - these are missing for clang++ but not for clang
|
||||
#if defined(__cplusplus)
|
||||
|
||||
Reference in New Issue
Block a user