]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/EdkIIGlueDebugLib.h
ICC cleanup: #undef previously defined _DEBUG.
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Library / EdkIIGlueLib / Include / Library / EdkIIGlueDebugLib.h
index 90ec02600df5801daf481f075c15433d597f6657..459479ee9f6271ef9dd60ea46878585f3d5a301b 100644 (file)
@@ -219,6 +219,17 @@ DebugClearMemory (
 \r
 **/\r
 #ifdef EFI_DEBUG\r
+/*\r
+  EdkCompatibilityPkg\Foundation\Include\EfiDebug.h\r
+  //\r
+  // DEBUG((DebugLevel, "format string", ...)) - if DebugLevel is active do \r
+  //   the a debug print.\r
+  //\r
+  #define DEBUG(arg)        EfiDebugPrint arg\r
+\r
+  To pass ICC build, undef the previously defined _DEBUG.\r
+*/  \r
+#undef _DEBUG\r
 #define _DEBUG(Expression)   DebugPrint Expression\r
 #else\r
 #define _DEBUG(Expression)\r