From: wessels <> Date: Tue, 4 Jan 2000 02:39:16 +0000 (+0000) Subject: define our assert macro to a NULL function if NODEBUG is defined. X-Git-Tag: SQUID_3_0_PRE1~2095 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0838ab87f9e8b6b598ad22ddd49f2ba795da133a;p=thirdparty%2Fsquid.git define our assert macro to a NULL function if NODEBUG is defined. --- diff --git a/src/squid.h b/src/squid.h index 02f9345907..7d3c8c3d64 100644 --- a/src/squid.h +++ b/src/squid.h @@ -1,6 +1,6 @@ /* - * $Id: squid.h,v 1.196 1999/12/30 17:36:50 wessels Exp $ + * $Id: squid.h,v 1.197 2000/01/03 19:39:16 wessels Exp $ * * AUTHOR: Duane Wessels * @@ -81,6 +81,8 @@ #if PURIFY #define assert(EX) ((void)0) +#elif defined(NODEBUG) +#define assert(EX) ((void)0) #elif STDC_HEADERS #define assert(EX) ((EX)?((void)0):xassert( # EX , __FILE__, __LINE__)) #else