EdkCompatibilityPkg: Re-add VA_COPY macro

This macro was lost in r10585.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10930 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jljusten 2010-10-13 07:07:54 +00:00
parent 152d9a6b07
commit 2b0fcbf537
1 changed files with 6 additions and 0 deletions

View File

@ -90,6 +90,8 @@ Abstract:
#define VA_END(Marker) ((void)0)
#define VA_COPY(Dest, Start) __va_copy (Dest, Start)
#elif defined(__GNUC__) && !defined(NO_BUILTIN_VA_FUNCS)
//
// Use GCC built-in macros for variable argument lists.
@ -107,6 +109,8 @@ typedef __builtin_va_list VA_LIST;
#define VA_END(Marker) __builtin_va_end (Marker)
#define VA_COPY(Dest, Start) __builtin_va_copy (Dest, Start)
#else
#ifndef VA_START
@ -165,6 +169,8 @@ typedef CHAR8 *VA_LIST;
**/
#define VA_END(Marker) (Marker = (VA_LIST) 0)
#define VA_COPY(dest, src) ((void)((dest) = (src)))
#endif
#endif