Debine NDEBUG if DEBUG isn't defined to disable all assert() checks as well.

This commit is contained in:
Alexander Barton 2005-03-30 16:37:02 +00:00
parent f6df13d5f8
commit 4d0b03b423
1 changed files with 5 additions and 1 deletions

View 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).
*/
@ -20,6 +20,10 @@
#include "config.h"
#ifndef DEBUG
# define NDEBUG
#endif
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif