diff options
author | geekboy15a <geekboy15a@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-04-29 01:01:44 +0000 |
---|---|---|
committer | geekboy15a <geekboy15a@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-04-29 01:01:44 +0000 |
commit | 4e716b677a6647541549744d05d49a44a51d3eb9 (patch) | |
tree | c130feb79161c4206f0c85dd110eaa9926c841c8 /MdePkg/Include/Base.h | |
parent | 56d7640a53bf23a4afa211c49b82527879edf65f (diff) | |
download | edk2-4e716b677a6647541549744d05d49a44a51d3eb9.tar.gz edk2-4e716b677a6647541549744d05d49a44a51d3eb9.tar.bz2 edk2-4e716b677a6647541549744d05d49a44a51d3eb9.zip |
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
Diffstat (limited to 'MdePkg/Include/Base.h')
-rw-r--r-- | MdePkg/Include/Base.h | 2 |
1 files changed, 1 insertions, 1 deletions
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.
//
|