From 16bd006b2394e1bca7eeb8e5b73ba499af17335d Mon Sep 17 00:00:00 2001 From: qwang12 Date: Tue, 18 Nov 2008 09:52:11 +0000 Subject: ICC cleanup: #undef previously defined _DEBUG. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6597 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Library/EdkIIGlueLib/Include/Library/EdkIIGlueDebugLib.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'EdkCompatibilityPkg/Foundation/Library') diff --git a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/EdkIIGlueDebugLib.h b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/EdkIIGlueDebugLib.h index 90ec02600d..459479ee9f 100644 --- a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/EdkIIGlueDebugLib.h +++ b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/EdkIIGlueDebugLib.h @@ -219,6 +219,17 @@ DebugClearMemory ( **/ #ifdef EFI_DEBUG +/* + EdkCompatibilityPkg\Foundation\Include\EfiDebug.h + // + // DEBUG((DebugLevel, "format string", ...)) - if DebugLevel is active do + // the a debug print. + // + #define DEBUG(arg) EfiDebugPrint arg + + To pass ICC build, undef the previously defined _DEBUG. +*/ +#undef _DEBUG #define _DEBUG(Expression) DebugPrint Expression #else #define _DEBUG(Expression) -- cgit v1.2.3