remove another invalid skip of locking in ungetwc
[oweals/musl.git] / src / math / acosh.c
index 4ce9b3d1c252d88ed165357fa4b24d13430a4cc9..badbf9081e644ff9df80bd2ae86cfc32e32a888b 100644 (file)
@@ -1,5 +1,10 @@
 #include "libm.h"
 
+#if FLT_EVAL_METHOD==2
+#undef sqrt
+#define sqrt sqrtl
+#endif
+
 /* acosh(x) = log(x + sqrt(x*x-1)) */
 double acosh(double x)
 {