mirror of
https://github.com/osmarks/ngircd.git
synced 2025-09-03 19:27:56 +00:00
Debine NDEBUG if DEBUG isn't defined to disable all assert() checks as well.
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
* (at your option) any later version.
|
* (at your option) any later version.
|
||||||
* Please read the file COPYING, README and AUTHORS for more information.
|
* 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).
|
* Portability functions and declarations (header for libngbportab).
|
||||||
*/
|
*/
|
||||||
@@ -20,6 +20,10 @@
|
|||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
|
#ifndef DEBUG
|
||||||
|
# define NDEBUG
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_SYS_TYPES_H
|
#ifdef HAVE_SYS_TYPES_H
|
||||||
# include <sys/types.h>
|
# include <sys/types.h>
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user