StdLib/Include/stdarg.h: Added the __va_copy macro for Python compatibility.
AppPkg/Applications/Python: Deleted obsolete and incomplete PyMod-2.7.1. Changes to enable compilation using GCC 4.4 on both Windows and Linux hosts. Signed-off-by: daryl.mcdaniel@intel.com Reviewed-by: jaben.carsey@intel.com git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13147 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
function accepting a varying number of arguments, if access to the varying
|
||||
arguments is desired.
|
||||
|
||||
Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials are licensed and made available under
|
||||
the terms and conditions of the BSD License that accompanies this distribution.
|
||||
The full text of the license may be found at
|
||||
@@ -134,4 +134,13 @@ typedef __builtin_va_list va_list;
|
||||
#endif
|
||||
/*@}*/
|
||||
|
||||
/** Provide a generic version of the compiler-dependent __va_copy macro.
|
||||
Some software, such as Python 2.7.2, relies upon the existence of __va_copy.
|
||||
If this macro is not defined, it just assigns one va_list item to another.
|
||||
This breaks for compiler environments that define va_list as an array or structure.
|
||||
**/
|
||||
#ifndef __va_copy
|
||||
#define __va_copy va_copy
|
||||
#endif
|
||||
|
||||
#endif /* _STDARG_H */
|
||||
|
Reference in New Issue
Block a user