diff options
author | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-11-18 09:52:11 +0000 |
---|---|---|
committer | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-11-18 09:52:11 +0000 |
commit | 16bd006b2394e1bca7eeb8e5b73ba499af17335d (patch) | |
tree | c9fca7842d93bbe7c21901ab936453645b7e73a6 /EdkCompatibilityPkg | |
parent | e70330e0e3db43d25ac7e445d293f69c20042e28 (diff) | |
download | edk2-platforms-16bd006b2394e1bca7eeb8e5b73ba499af17335d.tar.xz |
ICC cleanup: #undef previously defined _DEBUG.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6597 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkCompatibilityPkg')
-rw-r--r-- | EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/EdkIIGlueDebugLib.h | 11 |
1 files changed, 11 insertions, 0 deletions
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)
|