diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/math/arm/sqrt.c | 2 | ||||
-rw-r--r-- | src/math/arm/sqrtf.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/math/arm/sqrt.c b/src/math/arm/sqrt.c index c9c00083..874af960 100644 --- a/src/math/arm/sqrt.c +++ b/src/math/arm/sqrt.c @@ -1,6 +1,6 @@ #include <math.h> -#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 e6576655..98858ecd 100644 --- a/src/math/arm/sqrtf.c +++ b/src/math/arm/sqrtf.c @@ -1,6 +1,6 @@ #include <math.h> -#if __VFP_FP__ && !__SOFTFP__ +#if __ARM_PCS_VFP || (__VFP_FP__ && !__SOFTFP__) float sqrtf(float x) { |