mirror of
https://github.com/reactos/reactos.git
synced 2025-06-25 14:29:43 +00:00
[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:
parent
25723b4239
commit
78417c5532
2 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue