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:
@@ -219,6 +219,17 @@ DebugClearMemory (
|
|||||||
|
|
||||||
**/
|
**/
|
||||||
#ifdef EFI_DEBUG
|
#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
|
#define _DEBUG(Expression) DebugPrint Expression
|
||||||
#else
|
#else
|
||||||
#define _DEBUG(Expression)
|
#define _DEBUG(Expression)
|
||||||
|
Reference in New Issue
Block a user