[BOOTLIB] Check DBG with #if, not #ifdef (#1621)

This commit is contained in:
Serge Gautherie 2019-06-06 01:53:53 +02:00 committed by Hermès BÉLUSCA - MAÏTO
parent 3a98d96eac
commit 7eead93569

View file

@ -86,7 +86,7 @@ BlStatusPrint (
/* Check if the boot debugger is enabled */
if (BlBdDebuggerEnabled()
#if (defined(DBG))
#if DBG
|| TRUE
#endif
)
@ -94,7 +94,7 @@ BlStatusPrint (
/* Print the string out into a buffer */
if (vswprintf(BlScratchBuffer, Format, va) > 0)
{
#if defined(DBG)
#if DBG
EfiPrintf(BlScratchBuffer);
EfiPrintf(L"\r\n");
#endif