https://git.reactos.org/?p=reactos.git;a=commitdiff;h=7eead935693b854b6337dfcb1af4a58ec0d4a075

commit 7eead935693b854b6337dfcb1af4a58ec0d4a075
Author:     Serge Gautherie <[email protected]>
AuthorDate: Thu Jun 6 01:53:53 2019 +0200
Commit:     Hermès BÉLUSCA - MAÏTO <[email protected]>
CommitDate: Thu Jun 6 01:53:53 2019 +0200

    [BOOTLIB] Check DBG with #if, not #ifdef (#1621)
---
 boot/environ/lib/misc/debug.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/boot/environ/lib/misc/debug.c b/boot/environ/lib/misc/debug.c
index b38a29f1926..799d90be8dd 100644
--- a/boot/environ/lib/misc/debug.c
+++ b/boot/environ/lib/misc/debug.c
@@ -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

Reply via email to