]> git.proxmox.com Git - mirror_edk2.git/blobdiff - StdLib/Include/stdarg.h
IntelFspWrapperPkg: Fix typos in comments
[mirror_edk2.git] / StdLib / Include / stdarg.h
index b9de36423274baaa2df76a350cb6b8360503ad9a..9a30e28fbf183e7b01c1c395ca9e8a02e1d2f620 100644 (file)
@@ -20,7 +20,7 @@
     function accepting a varying number of arguments, if access to the varying\r
     arguments is desired.\r
 \r
-    Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>\r
+    Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR>\r
     This program and the accompanying materials are licensed and made available under\r
     the terms and conditions of the BSD License that accompanies this distribution.\r
     The full text of the license may be found at\r
@@ -134,4 +134,13 @@ typedef __builtin_va_list   va_list;
 #endif\r
 /*@}*/\r
 \r
+/** Provide a generic version of the compiler-dependent __va_copy macro.\r
+    Some software, such as Python 2.7.2, relies upon the existence of __va_copy.\r
+    If this macro is not defined, it just assigns one va_list item to another.\r
+    This breaks for compiler environments that define va_list as an array or structure.\r
+**/\r
+#ifndef __va_copy\r
+  #define __va_copy       va_copy\r
+#endif\r
+\r
 #endif  /* _STDARG_H */\r