From f008c990a03536a6cc57b6b77bded56081aafe1c Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Tue, 3 Feb 2004 09:56:11 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=2943 --- api/boincdiag.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/boincdiag.h b/api/boincdiag.h index 2f4f7fc615..f4c0a3e547 100644 --- a/api/boincdiag.h +++ b/api/boincdiag.h @@ -78,14 +78,15 @@ void boinc_trace(const char *pszFormat, ...); #include -#define BOINCASSERT(expr) _ASSERT_BASE((expr), #expr) #ifdef _DEBUG +#define BOINCASSERT(expr) _ASSERT_BASE((expr), #expr) #define BOINCTRACE boinc_trace #else _DEBUG +#define BOINCASSERT(expr) ((void)0) #define BOINCTRACE ((void)0) #endif _DEBUG