ntdll: Compile VIRTUAL_Dump only when somebody really needs it

Dmitry Timoshkov dmitry at codeweavers.com
Tue Jun 20 11:53:45 CDT 2006


Hello,

Alexandre says that VIRTUAL_Dump is useful, so just #ifdef'ing it.

Changelog:
    ntdll: Compile VIRTUAL_Dump only when somebody really needs it.

--- cvs/hq/wine/dlls/ntdll/virtual.c	Fri Jun 16 14:19:14 2006
+++ wine/dlls/ntdll/virtual.c	Tue Jun 20 16:49:00 2006
@@ -193,6 +193,7 @@ static void VIRTUAL_DumpView( FILE_VIEW 
 }
 
 
+#if WINE_VM_DEBUG
 /***********************************************************************
  *           VIRTUAL_Dump
  */
@@ -208,6 +209,7 @@ void VIRTUAL_Dump(void)
     }
     RtlLeaveCriticalSection(&csVirtual);
 }
+#endif
 
 
 /***********************************************************************





More information about the wine-patches mailing list