configure: Check for division of __int128

This fixes detection on toolchains where the compiler is able to
compile code with __int128, but the toolchain doesn't automatically
link in suitable helper functions needed for handling division.
(In practice, clang targeting MSVC environments.)
This commit is contained in:
Martin Storsjö
2026-06-25 10:40:24 +03:00
parent 93ebde18e1
commit b2b37802a9

2
configure vendored
View File

@@ -6954,7 +6954,7 @@ fi
check_builtin MemoryBarrier windows.h "MemoryBarrier()"
check_builtin gmtime_r time.h "time_t *time; struct tm *tm; gmtime_r(time, tm)"
check_builtin localtime_r time.h "time_t *time; struct tm *tm; localtime_r(time, tm)"
check_builtin int128 "" "volatile __int128 i128var = 1; i128var <<= 100;"
check_builtin int128 "" "volatile __int128 i128var = 1; i128var /= 100;"
check_builtin float16 "" "_Float16 f16var"
if enabled float16; then