DragonFly BSD
DragonFly commits List (threaded) for 2009-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: Fix buildworld with -DNDEBUG in CFLAGS.


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 18 Dec 2009 13:11:08 -0800 (PST)

commit 91350d087274ca19d4f567a5cd4632c0491282af
Author: Sascha Wildner <saw@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]