Author: hbelusca Date: Sat Jun 22 01:48:28 2013 New Revision: 59280
URL: http://svn.reactos.org/svn/reactos?rev=59280&view=rev Log: [NTVDM] Use correctly NDEBUG, and use ReactOS macro: ASSERT, instead of the assert() CRT function.
Modified: branches/ntvdm/subsystems/ntvdm/bios.c branches/ntvdm/subsystems/ntvdm/ntvdm.c branches/ntvdm/subsystems/ntvdm/ntvdm.h
Modified: branches/ntvdm/subsystems/ntvdm/bios.c URL: http://svn.reactos.org/svn/reactos/branches/ntvdm/subsystems/ntvdm/bios.c?re... ============================================================================== --- branches/ntvdm/subsystems/ntvdm/bios.c [iso-8859-1] (original) +++ branches/ntvdm/subsystems/ntvdm/bios.c [iso-8859-1] Sat Jun 22 01:48:28 2013 @@ -91,7 +91,7 @@
if (!GetConsoleScreenBufferInfo(ConsoleOutput, &ConsoleInfo)) { - assert(0); + ASSERT(FALSE); return Result; }
Modified: branches/ntvdm/subsystems/ntvdm/ntvdm.c URL: http://svn.reactos.org/svn/reactos/branches/ntvdm/subsystems/ntvdm/ntvdm.c?r... ============================================================================== --- branches/ntvdm/subsystems/ntvdm/ntvdm.c [iso-8859-1] (original) +++ branches/ntvdm/subsystems/ntvdm/ntvdm.c [iso-8859-1] Sat Jun 22 01:48:28 2013 @@ -7,8 +7,6 @@ */
#include "ntvdm.h" - -#define NDEBUG
BOOLEAN VdmRunning = TRUE; LPVOID BaseAddress = NULL;
Modified: branches/ntvdm/subsystems/ntvdm/ntvdm.h URL: http://svn.reactos.org/svn/reactos/branches/ntvdm/subsystems/ntvdm/ntvdm.h?r... ============================================================================== --- branches/ntvdm/subsystems/ntvdm/ntvdm.h [iso-8859-1] (original) +++ branches/ntvdm/subsystems/ntvdm/ntvdm.h [iso-8859-1] Sat Jun 22 01:48:28 2013 @@ -12,8 +12,9 @@ #include <tchar.h> #include <stdio.h> #include <conio.h> -#include <assert.h> #include <stdarg.h> + +#define NDEBUG #include <debug.h>
/* DEFINES ********************************************************************/