mirror of https://github.com/acidanthera/audk.git
MdePkg/Include/Base.h: Defined __va_copy macro when not defined by the ARM toolchain
The newer versions of ARM RVCT do not define __va_copy. Signed-off-by: oliviermartin Reviewed-by: mdkinney git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13067 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
911da88693
commit
7bbc624a7d
|
@ -455,6 +455,11 @@ struct _LIST_ENTRY {
|
|||
|
||||
#define VA_END(Marker) ((void)0)
|
||||
|
||||
// For some ARM RVCT compilers, __va_copy is not defined
|
||||
#ifndef __va_copy
|
||||
#define __va_copy(dest, src) ((void)((dest) = (src)))
|
||||
#endif
|
||||
|
||||
#define VA_COPY(Dest, Start) __va_copy (Dest, Start)
|
||||
|
||||
#elif defined(__GNUC__) && !defined(NO_BUILTIN_VA_FUNCS)
|
||||
|
|
Loading…
Reference in New Issue