Author: rharabien
Date: Sat Sep  3 16:27:11 2011
New Revision: 53549

URL: http://svn.reactos.org/svn/reactos?rev=53549&view=rev
Log:
[FREELDR]
- Fix release build

Modified:
    trunk/reactos/boot/freeldr/freeldr/include/debug.h

Modified: trunk/reactos/boot/freeldr/freeldr/include/debug.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/include/debug.h?rev=53549&r1=53548&r2=53549&view=diff
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/include/debug.h [iso-8859-1] (original)
+++ trunk/reactos/boot/freeldr/freeldr/include/debug.h [iso-8859-1] Sat Sep  3 
16:27:11 2011
@@ -36,8 +36,6 @@
 #define DPRINT_PELOADER     0x00001000  // OR this with DebugPrintMask to 
enable messages from PE images loader
 #define DPRINT_SCSIPORT     0x00002000  // OR this with DebugPrintMask to 
enable messages from SCSI miniport
 
-#define DBG_DEFAULT_CHANNEL(x) static int DbgDefaultChannel = DPRINT_##x;
-
 #if DBG && !defined(_M_ARM)
 
        VOID    DebugInit(VOID);
@@ -49,6 +47,8 @@
     #define FIXME_LEVEL    0x2
     #define WARN_LEVEL     0x4
     #define TRACE_LEVEL    0x8
+
+    #define DBG_DEFAULT_CHANNEL(ch) static int DbgDefaultChannel = DPRINT_##ch
 
     #define ERR_CH(ch, fmt, ...)    DbgPrint2(DPRINT_##ch, ERR_LEVEL, 
__FILE__, __LINE__, fmt, ##__VA_ARGS__)
     #define FIXME_CH(ch, fmt, ...)  DbgPrint2(DPRINT_##ch, FIXME_LEVEL, 
__FILE__, __LINE__, fmt, ##__VA_ARGS__)
@@ -94,6 +94,8 @@
 
 #else
 
+    #define DBG_DEFAULT_CHANNEL(ch)
+
     #define ERR_CH(ch, fmt, ...)
     #define FIXME_CH(ch, fmt, ...)
     #define WARN_CH(ch, fmt, ...)


Reply via email to