git: Fix buildworld with -DNDEBUG in CFLAGS.

Sascha Wildner swildner at crater.dragonflybsd.org
Fri Dec 18 13:14:07 PST 2009


commit 91350d087274ca19d4f567a5cd4632c0491282af
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
    libevent).

Summary of changes:
 contrib/libevent/evdns.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/91350d087274ca19d4f567a5cd4632c0491282af


-- 
DragonFly BSD source repository





More information about the Commits mailing list