From 796aba44a74698c9dc94c8b7922b36daee443b70 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 24 Jul 2025 11:44:42 +1000 Subject: [PATCH] AP_JSON: replace ALLOW_DOUBLE_MATH_FUNCTIONS with AP_MATH_ALLOW_DOUBLE_FUNCTIONS .... and this one is always defined, so check for truth! --- libraries/AP_JSON/AP_JSON.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_JSON/AP_JSON.cpp b/libraries/AP_JSON/AP_JSON.cpp index 33bf30657b..5dd7eaeae0 100644 --- a/libraries/AP_JSON/AP_JSON.cpp +++ b/libraries/AP_JSON/AP_JSON.cpp @@ -34,7 +34,7 @@ #pragma GCC optimize("Os") -#define ALLOW_DOUBLE_MATH_FUNCTIONS +#define AP_MATH_ALLOW_DOUBLE_FUNCTIONS 1 #include "AP_JSON.h" #include