Module: wine Branch: master Commit: d70dd610305318143d9b06ec98f1be5cf4716119 URL: https://gitlab.winehq.org/wine/wine/-/commit/d70dd610305318143d9b06ec98f1be5...
Author: Alexandre Julliard julliard@winehq.org Date: Tue Mar 19 11:06:03 2024 +0100
msvcrt: Use floating point comparison builtins also in MSVC mode.
---
include/msvcrt/math.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/msvcrt/math.h b/include/msvcrt/math.h index 4b7df1244eb..fc7de676c83 100644 --- a/include/msvcrt/math.h +++ b/include/msvcrt/math.h @@ -351,7 +351,7 @@ static inline int __signbit(double x) #define _FP_EQ 2 #define _FP_GT 4
-#ifdef __GNUC__ +#if defined(__GNUC__) || defined(__clang__) # define isgreater(x, y) __builtin_isgreater(x, y) # define isgreaterequal(x, y) __builtin_isgreaterequal(x, y) # define isless(x, y) __builtin_isless(x, y)