[CRT] Fix build with clang-cl 17

#pragma function(llabs) causes an error: "error: no_builtin attribute has no effect on defaulted or deleted functions"
This is probably a bug in clang, see https://github.com/llvm/llvm-project/issues/116256
This commit is contained in:
Timo Kreuzer 2024-11-29 13:33:11 +02:00
parent 25723b4239
commit 78417c5532
2 changed files with 5 additions and 5 deletions

View file

@ -1428,7 +1428,7 @@ extern "C" {
__MINGW_EXTENSION _Check_return_ lldiv_t __cdecl lldiv(_In_ long long, _In_ long long);
#if defined(_MSC_VER)
#if defined(_MSC_VER) && !defined(__clang__)
_Check_return_ long long __cdecl llabs(_In_ long long _j);
#pragma function(llabs)
#endif