mirror of https://github.com/acidanthera/audk.git
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:
parent
e70330e0e3
commit
16bd006b23
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue