1
0
mirror of https://git.code.sf.net/p/mingw-w64/mingw-w64 synced 2025-04-18 17:44:18 +03:00

crt: Restore arch checks in __signbit.

This partially reverts dbb60ad07c29830, which accidentally removed __x86_64__
check. The change is not needed for ARM64EC, which defined __x86_64__ too.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
This commit is contained in:
Jacek Caban 2025-04-04 15:42:21 +02:00
parent d16a77a4f9
commit 16335b3c4d

View File

@ -16,7 +16,7 @@ typedef union __mingw_dbl_type_t {
int __signbit (double x)
{
#if __SIZEOF_LONG_DOUBLE__ == __SIZEOF_DOUBLE__
#if defined(__x86_64__) || defined(_AMD64_) || defined(__arm__) || defined(_ARM_) || defined(__aarch64__) || defined(_ARM64_)
__mingw_dbl_type_t hlp;
hlp.x = x;