mirror of
https://github.com/reactos/reactos.git
synced 2024-11-27 21:43:32 +08:00
[CRT] Use builtin va_args macros for clang. CORE-17227
This commit is contained in:
parent
4ae8a77aad
commit
1f0bbb3050
@ -39,7 +39,7 @@ extern "C" {
|
||||
|
||||
#define _INTSIZEOF(n) ((sizeof(n) + sizeof(int) - 1) & ~(sizeof(int) - 1))
|
||||
|
||||
#if defined(__GNUC__)
|
||||
#if defined(__GNUC__) || defined(__clang__)
|
||||
#define _crt_va_start(v,l) __builtin_va_start(v,l)
|
||||
#define _crt_va_arg(v,l) __builtin_va_arg(v,l)
|
||||
#define _crt_va_end(v) __builtin_va_end(v)
|
||||
|
Loading…
Reference in New Issue
Block a user