git: Fix buildworld with -DNDEBUG in CFLAGS.

看板DFBSD_commit作者時間16年前 (2009/12/19 05:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1BA_JNwq (DFBSD_commit)