diff --git a/src/math/arm/sqrt.c b/src/math/arm/sqrt.c index c9c000831aa5b0e83a18892faff67accf2fb0291..874af9606c3c863a05a96ad89aa04c000fe37e69 100644 --- a/src/math/arm/sqrt.c +++ b/src/math/arm/sqrt.c @@ -1,6 +1,6 @@ #include -#if __VFP_FP__ && !__SOFTFP__ +#if __ARM_PCS_VFP || (__VFP_FP__ && !__SOFTFP__) double sqrt(double x) { diff --git a/src/math/arm/sqrtf.c b/src/math/arm/sqrtf.c index e65766552589fd37998c46956e97f87d32c502eb..98858ecd7901d49452ac6500605a608790f8b78e 100644 --- a/src/math/arm/sqrtf.c +++ b/src/math/arm/sqrtf.c @@ -1,6 +1,6 @@ #include -#if __VFP_FP__ && !__SOFTFP__ +#if __ARM_PCS_VFP || (__VFP_FP__ && !__SOFTFP__) float sqrtf(float x) {