wmail: define debug macros as empty if debug is not enabled.

This commit is contained in:
Jeremy Sowden 2019-06-07 09:54:27 +01:00 committed by Carlos R. Mafra
parent 107922018b
commit 2fbac189e8

View file

@ -84,9 +84,9 @@ void TRACE( const char *fmt, ... );
#else
#define TRACE 0 && // hopefully rejected by the optimizing compiler (as gcc does...)
#define ASSERT(EXPR) ((void)0)
#define VERIFY(EXPR) (EXPR)
#define TRACE( fmt... )
#define ASSERT( EXPR )
#define VERIFY( EXPR )
#endif