wmail: only one DEBUG macro is ever defined.
This commit is contained in:
parent
07f158ad7e
commit
107922018b
|
@ -42,7 +42,7 @@
|
|||
|
||||
#include "common.h"
|
||||
|
||||
#if defined(DEBUG) || defined(DEBUG2) || defined(_DEBUG)
|
||||
#ifdef DEBUG
|
||||
void TRACE( const char *fmt, ... )
|
||||
{
|
||||
va_list args;
|
||||
|
|
|
@ -76,7 +76,7 @@ void ABORT( const char *fmt, ... );
|
|||
void WARNING( const char *fmt, ... );
|
||||
char *MakePathName( const char *dir, const char *file );
|
||||
|
||||
#if defined(DEBUG) || defined(DEBUG2) || defined(_DEBUG)
|
||||
#ifdef DEBUG
|
||||
|
||||
void TRACE( const char *fmt, ... );
|
||||
#define ASSERT( EXPR ) ((void)(EXPR ? 0 : ABORT( "%s(%i): Assertion failed: \"%s\"\n", __FILE__, __LINE__, #EXPR )))
|
||||
|
|
Loading…
Reference in a new issue