diff options
| author | Alexander Barton <alex@barton.de> | 2005-03-30 16:37:02 +0000 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2005-03-30 16:37:02 +0000 |
| commit | 4d0b03b4235a1150ed7182fba31ee658d3979625 (patch) | |
| tree | 7aa460cb5d58c1cca879663a468e95c532fec339 /src/portab | |
| parent | f6df13d5f812053281537bf8f7d282cff544caab (diff) | |
| download | ngircd-4d0b03b4235a1150ed7182fba31ee658d3979625.tar.gz ngircd-4d0b03b4235a1150ed7182fba31ee658d3979625.zip | |
Debine NDEBUG if DEBUG isn't defined to disable all assert() checks as well.
Diffstat (limited to 'src/portab')
| -rw-r--r-- | src/portab/portab.h | 6 |
1 files changed, 5 insertions, 1 deletions
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 <sys/types.h> #endif |