[CRT] Use builtin va_args macros for clang. CORE-17227

This commit is contained in:
Thomas Faber 2020-08-30 01:24:03 +02:00
parent 4ae8a77aad
commit 1f0bbb3050
No known key found for this signature in database
GPG Key ID: 076E7C3D44720826

View File

@ -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)