mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
MdePkg: Fix WINDDK3790 build failure
WINDDK3790 doesn't support __VA_ARGS__ macro. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16820 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
ebf6860309
commit
6e6f5e030b
@ -252,13 +252,15 @@ DebugPrintLevelEnabled (
|
||||
|
||||
This macro calls DebugPrint() passing in the debug error level, a format
|
||||
string, and a variable argument list.
|
||||
__VA_ARGS__ is not supported by ECB compiler, Microsoft Visual Studio .NET 2003
|
||||
and Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830.
|
||||
|
||||
@param Expression Expression containing an error level, a format string,
|
||||
and a variable argument list based on the format string.
|
||||
|
||||
**/
|
||||
|
||||
#if !defined(MDE_CPU_EBC)
|
||||
#if !defined(MDE_CPU_EBC) && (!defined (_MSC_VER) || _MSC_VER >= 1400)
|
||||
#define _DEBUG_PRINT(PrintLevel, ...) \
|
||||
do { \
|
||||
if (DebugPrintLevelEnabled (PrintLevel)) { \
|
||||
|
Loading…
x
Reference in New Issue
Block a user