]> arthur.barton.de Git - ngircd-alex.git/commitdiff
Debine NDEBUG if DEBUG isn't defined to disable all assert() checks as well.
authorAlexander Barton <alex@barton.de>
Wed, 30 Mar 2005 16:37:02 +0000 (16:37 +0000)
committerAlexander Barton <alex@barton.de>
Wed, 30 Mar 2005 16:37:02 +0000 (16:37 +0000)
src/portab/portab.h

index d14805893ce100972772e311a370b617a971d2eb..ef376c8066f90bf382cd93b9c26367335e3c4bcc 100644 (file)
@@ -8,7 +8,7 @@
  * (at your option) any later version.
  * Please read the file COPYING, README and AUTHORS for more information.
  *
- * $Id: portab.h,v 1.18 2005/03/19 18:43:50 fw Exp $
+ * $Id: portab.h,v 1.19 2005/03/30 16:37:02 alex Exp $
  *
  * Portability functions and declarations (header for libngbportab).
  */
 
 #include "config.h"
 
+#ifndef DEBUG
+# define NDEBUG
+#endif
+
 #ifdef HAVE_SYS_TYPES_H
 # include <sys/types.h>
 #endif