mirror of https://github.com/acidanthera/audk.git
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
This commit is contained in:
parent
56d7640a53
commit
4e716b677a
|
@ -454,7 +454,7 @@ struct _LIST_ENTRY {
|
||||||
|
|
||||||
#define VA_END(Marker) ((void)0)
|
#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.
|
// Use GCC built-in macros for variable argument lists.
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue