[ros-diffs] [hpoussin] 26783: Also define the DPRINT_ constants in release mode

hpoussin at svn.reactos.org hpoussin at svn.reactos.org
Mon May 14 22:07:16 CEST 2007


Author: hpoussin
Date: Tue May 15 00:07:16 2007
New Revision: 26783

URL: http://svn.reactos.org/svn/reactos?rev=26783&view=rev
Log:
Also define the DPRINT_ constants in release mode

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=26783&r1=26782&r2=26783&view=diff
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/include/debug.h (original)
+++ trunk/reactos/boot/freeldr/freeldr/include/debug.h Tue May 15 00:07:16 2007
@@ -21,21 +21,21 @@
 #ifndef __DEBUG_H
 #define __DEBUG_H
 
+#define DPRINT_NONE		0x00000000  // No debug print
+#define DPRINT_WARNING		0x00000001  // OR this with DebugPrintMask to enable debugger messages and other misc stuff
+#define DPRINT_MEMORY		0x00000002  // OR this with DebugPrintMask to enable memory management messages
+#define DPRINT_FILESYSTEM	0x00000004  // OR this with DebugPrintMask to enable file system messages
+#define DPRINT_INIFILE		0x00000008  // OR this with DebugPrintMask to enable .ini file messages
+#define DPRINT_UI		0x00000010  // OR this with DebugPrintMask to enable user interface messages
+#define DPRINT_DISK		0x00000020  // OR this with DebugPrintMask to enable disk messages
+#define DPRINT_CACHE		0x00000040  // OR this with DebugPrintMask to enable cache messages
+#define DPRINT_REGISTRY		0x00000080  // OR this with DebugPrintMask to enable registry messages
+#define DPRINT_REACTOS		0x00000100  // OR this with DebugPrintMask to enable ReactOS messages
+#define DPRINT_LINUX		0x00000200  // OR this with DebugPrintMask to enable Linux messages
+#define DPRINT_HWDETECT		0x00000400  // OR this with DebugPrintMask to enable hardware detection messages
+#define DPRINT_WINDOWS		0x00000800  // OR this with DebugPrintMask to enable messages from Windows loader
+
 #ifdef DBG
-
-	#define DPRINT_NONE		0x00000000  // No debug print
-	#define DPRINT_WARNING		0x00000001  // OR this with DebugPrintMask to enable debugger messages and other misc stuff
-	#define DPRINT_MEMORY		0x00000002  // OR this with DebugPrintMask to enable memory management messages
-	#define DPRINT_FILESYSTEM	0x00000004  // OR this with DebugPrintMask to enable file system messages
-	#define DPRINT_INIFILE		0x00000008  // OR this with DebugPrintMask to enable .ini file messages
-	#define DPRINT_UI		0x00000010  // OR this with DebugPrintMask to enable user interface messages
-	#define DPRINT_DISK		0x00000020  // OR this with DebugPrintMask to enable disk messages
-	#define DPRINT_CACHE		0x00000040  // OR this with DebugPrintMask to enable cache messages
-	#define DPRINT_REGISTRY		0x00000080  // OR this with DebugPrintMask to enable registry messages
-	#define DPRINT_REACTOS		0x00000100  // OR this with DebugPrintMask to enable ReactOS messages
-	#define DPRINT_LINUX		0x00000200  // OR this with DebugPrintMask to enable Linux messages
-	#define DPRINT_HWDETECT		0x00000400  // OR this with DebugPrintMask to enable hardware detection messages
-	#define DPRINT_WINDOWS		0x00000800  // OR this with DebugPrintMask to enable messages from Windows loader
 
 	VOID	DebugInit(VOID);
 	VOID	DebugPrint(ULONG Mask, char *format, ...);




More information about the Ros-diffs mailing list