ICC cleanup: #undef previously defined _DEBUG.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6597 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qwang12 2008-11-18 09:52:11 +00:00
parent e70330e0e3
commit 16bd006b23
1 changed files with 11 additions and 0 deletions

View File

@ -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)