]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
define our assert macro to a NULL function if NODEBUG is defined.
authorwessels <>
Tue, 4 Jan 2000 02:39:16 +0000 (02:39 +0000)
committerwessels <>
Tue, 4 Jan 2000 02:39:16 +0000 (02:39 +0000)
src/squid.h

index 02f93459070c1562d26ad3969e7b9d0880d7c2bf..7d3c8c3d649201618297df70ca02c1a8e83a9ff4 100644 (file)
@@ -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