From 4e716b677a6647541549744d05d49a44a51d3eb9 Mon Sep 17 00:00:00 2001 From: geekboy15a Date: Thu, 29 Apr 2010 01:01:44 +0000 Subject: Made use of GCC built-in functions for variable arguments in procedures dependent on NO_BUILTIN_VA_FUNCS. This is because they do not function correctly in GCC 4.4 when using ms_abi in X64 images. This does not change functionality for other projects. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10440 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/Base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdePkg/Include/Base.h b/MdePkg/Include/Base.h index 0e722ec7ab..d95fb0b850 100644 --- a/MdePkg/Include/Base.h +++ b/MdePkg/Include/Base.h @@ -454,7 +454,7 @@ struct _LIST_ENTRY { #define VA_END(Marker) ((void)0) -#elif defined(__GNUC__) +#elif defined(__GNUC__) && !defined(NO_BUILTIN_VA_FUNCS) // // Use GCC built-in macros for variable argument lists. // -- cgit v1.2.3