git: Fix buildworld with -DNDEBUG in CFLAGS.
swildner at crater.dragonflybsd.org
Fri Dec 18 13:14:07 PST 2009
Author: Sascha Wildner <saw at online.de>
Date: Fri Dec 18 22:10:57 2009 +0100
Fix buildworld with -DNDEBUG in CFLAGS.
ANSI C requires that if NDEBUG is defined, assert(3) shall be disabled,
that is, defined "((void)0)".
The usage of NDEBUG in libevent is not related to assert(3), so simply
remove the #ifdef's (as was done upstream in later versions of
Summary of changes:
contrib/libevent/evdns.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
DragonFly BSD source repository
More information about the Commits