Fix buildworld with -DNDEBUG in CFLAGS.
authorSascha Wildner <saw@online.de>
Fri, 18 Dec 2009 21:10:57 +0000 (22:10 +0100)
committerSascha Wildner <saw@online.de>
Fri, 18 Dec 2009 21:10:57 +0000 (22:10 +0100)
commit91350d087274ca19d4f567a5cd4632c0491282af
tree0ef1df072d8116b4df18a15659715dd160cd6822
parent90ea502b8c5d21f908cedff6680ee2bc9e74ce74
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
libevent).
contrib/libevent/evdns.c