Jacek Caban : math.h: Provide copysign declaration for ucrt.
Alexandre Julliard
julliard at winehq.org
Fri May 22 13:51:10 CDT 2020
Module: wine
Branch: master
Commit: 073016ecd484f8d57685cedfde1ee808235840c4
URL: https://source.winehq.org/git/wine.git/?a=commit;h=073016ecd484f8d57685cedfde1ee808235840c4
Author: Jacek Caban <jacek at codeweavers.com>
Date: Fri May 22 17:16:43 2020 +0200
math.h: Provide copysign declaration for ucrt.
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
include/msvcrt/math.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/include/msvcrt/math.h b/include/msvcrt/math.h
index 01c4a4b61b..83b252ad5f 100644
--- a/include/msvcrt/math.h
+++ b/include/msvcrt/math.h
@@ -182,8 +182,13 @@ static inline int _fpclassf(float x) { return _fpclass(x); }
static inline float ldexpf(float x, int y) { return ldexp(x, y); }
+#ifdef _UCRT
+_ACRTIMP double __cdecl copysign(double, double);
+_ACRTIMP float __cdecl copysignf(float, float);
+#else
#define copysign(x,y) _copysign(x,y)
#define copysignf(x,y) _copysignf(x,y)
+#endif
double __cdecl nearbyint(double);
float __cdecl nearbyintf(float);
More information about the wine-cvs
mailing list