From: Alexander Barton Date: Wed, 30 Mar 2005 16:37:02 +0000 (+0000) Subject: Debine NDEBUG if DEBUG isn't defined to disable all assert() checks as well. X-Git-Tag: rel-0-9-0-pre1~78 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=commitdiff_plain;h=4d0b03b4235a1150ed7182fba31ee658d3979625 Debine NDEBUG if DEBUG isn't defined to disable all assert() checks as well. --- diff --git a/src/portab/portab.h b/src/portab/portab.h index d1480589..ef376c80 100644 --- a/src/portab/portab.h +++ b/src/portab/portab.h @@ -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). */ @@ -20,6 +20,10 @@ #include "config.h" +#ifndef DEBUG +# define NDEBUG +#endif + #ifdef HAVE_SYS_TYPES_H # include #endif