getservbyport_r: fix wrong result if getnameinfo fails with EAI_OVERFLOW
[musl] / src / math / arm / sqrt.c
index c9c0008..567e2e9 100644 (file)
@@ -1,6 +1,6 @@
 #include <math.h>
 
-#if __VFP_FP__ && !__SOFTFP__
+#if (__ARM_PCS_VFP || (__VFP_FP__ && !__SOFTFP__)) && (__ARM_FP&8)
 
 double sqrt(double x)
 {