Always prefer the external <stdarg.h> for MSVC compilation

The __builtin_va_###() intrinsics apply only to GCC-like compilers and
MSVC's <stdarg.h> works just fine with gnu-efi.
Without this patch, one has to define GNU_EFI_USE_EXTERNAL_STDARG to
make gnu-efi work with a Microsoft toolchain, which is annoying...
This commit is contained in:
Pete Batard 2021-02-17 00:15:54 +00:00 committed by Nigel Croxon
parent 7cc4f3a20c
commit ebdde0bc4b

View File

@ -19,7 +19,7 @@ Revision History
--*/
#ifndef GNU_EFI_USE_EXTERNAL_STDARG
#if !defined(GNU_EFI_USE_EXTERNAL_STDARG) && !defined(_MSC_VER)
typedef __builtin_va_list va_list;
# define va_start(v,l) __builtin_va_start(v,l)