Use correctly NDEBUG, and use ReactOS macro: ASSERT, instead of the assert() CRT function.

svn path=/branches/ntvdm/; revision=59280
This commit is contained in:
Hermès Bélusca-Maïto 2013-06-22 01:48:28 +00:00
parent 6a3d90cf53
commit 2bd695b42e
3 changed files with 3 additions and 4 deletions

View file

@ -91,7 +91,7 @@ static COORD BiosVideoAddressToCoord(ULONG Address)
if (!GetConsoleScreenBufferInfo(ConsoleOutput, &ConsoleInfo))
{
assert(0);
ASSERT(FALSE);
return Result;
}

View file

@ -8,8 +8,6 @@
#include "ntvdm.h"
#define NDEBUG
BOOLEAN VdmRunning = TRUE;
LPVOID BaseAddress = NULL;
LPCWSTR ExceptionName[] =

View file

@ -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 ********************************************************************/