[ros-diffs] [fireball] 24410: - Add #ifdef DEBUG / #endif to fix compile. FreeLdr's debug macros needs some improvement in the future...

fireball at svn.reactos.org fireball at svn.reactos.org
Thu Oct 5 11:15:45 CEST 2006


Author: fireball
Date: Thu Oct  5 13:15:44 2006
New Revision: 24410

URL: http://svn.reactos.org/svn/reactos?rev=24410&view=rev
Log:
- Add #ifdef DEBUG / #endif to fix compile. FreeLdr's debug macros needs some improvement in the future...

Modified:
    trunk/reactos/boot/freeldr/freeldr/windows/wlmemory.c

Modified: trunk/reactos/boot/freeldr/freeldr/windows/wlmemory.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/windows/wlmemory.c?rev=24410&r1=24409&r2=24410&view=diff
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/windows/wlmemory.c (original)
+++ trunk/reactos/boot/freeldr/freeldr/windows/wlmemory.c Thu Oct  5 13:15:44 2006
@@ -491,6 +491,7 @@
 	DbgPrint((DPRINT_WINDOWS, "Memory Descriptor List prepared, printing PDE\n"));
 	List_PaToVa(&LoaderBlock->MemoryDescriptorListHead);
 
+	#if DEBUG
 	{
 		ULONG *PDE_Addr=(ULONG *)PDE;//0xC0300000;
 		int j;
@@ -509,6 +510,7 @@
 			DbgPrint((DPRINT_WINDOWS, "\n"));
 		}
 	}
+	#endif
 
 
 	// Enable paging




More information about the Ros-diffs mailing list