[ros-diffs] [hpoussin] 33821: Add a "ReactOS (WinLdr)" entry when using a debug build

hpoussin at svn.reactos.org hpoussin at svn.reactos.org
Sun Jun 1 21:15:15 CEST 2008


Author: hpoussin
Date: Sun Jun  1 14:15:15 2008
New Revision: 33821

URL: http://svn.reactos.org/svn/reactos?rev=33821&view=rev
Log:
Add a "ReactOS (WinLdr)" entry when using a debug build

Modified:
    trunk/reactos/base/setup/usetup/bootsup.c

Modified: trunk/reactos/base/setup/usetup/bootsup.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/bootsup.c?rev=33821&r1=33820&r2=33821&view=diff
==============================================================================
--- trunk/reactos/base/setup/usetup/bootsup.c [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/bootsup.c [iso-8859-1] Sun Jun  1 14:15:15 2008
@@ -380,12 +380,14 @@
 		    L"ReactOS_Debug",
 		    L"\"ReactOS (Debug)\"");
 
+#ifdef DBG
   /* ReactOS_WinLdr="ReactOS (WinLdr)" */
   IniCacheInsertKey(IniSection,
 		    NULL,
 		    INSERT_LAST,
 		    L"ReactOS_WinLdr",
 		    L"\"ReactOS (WinLdr)\"");
+#endif
 
   /* Create "ReactOS" section */
   IniSection = IniCacheAppendSection(IniCache,
@@ -437,6 +439,7 @@
 		    L"Options",
 		    L"/DEBUG /DEBUGPORT=COM1 /BAUDRATE=115200 /SOS");
 
+#ifdef DBG
   /* Create "ReactOS_WinLdr" section */
   IniSection = IniCacheAppendSection(IniCache,
 				     L"ReactOS_WinLdr");
@@ -461,6 +464,7 @@
 		    INSERT_LAST,
 		    L"Options",
 		    L"/DEBUG /DEBUGPORT=COM1 /BAUDRATE=115200 /SOS");
+#endif
 
   /* Save the ini file */
   IniCacheSave(IniCache, IniPath);



More information about the Ros-diffs mailing list