From 75b1bfea2ec70f7408f7a35d7fba606774176333 Mon Sep 17 00:00:00 2001 From: ngie Date: Fri, 18 Dec 2015 06:58:44 +0000 Subject: MFC r292250: Allow users override `DEBUG` on the command line via DEBUG_FLAGS="-DDEBUG" with lib/libc/resolv by conditionalizing its definition Reviewed by: ume, vangyzen Differential Revision: https://reviews.freebsd.org/D4519 --- lib/libc/resolv/res_send.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/libc/resolv/res_send.c') diff --git a/lib/libc/resolv/res_send.c b/lib/libc/resolv/res_send.c index 2612682..f692522 100644 --- a/lib/libc/resolv/res_send.c +++ b/lib/libc/resolv/res_send.c @@ -119,7 +119,9 @@ __FBSDID("$FreeBSD$"); #include "un-namespace.h" /* Options. Leave them on. */ -#define DEBUG +#ifndef DEBUG +#define DEBUG +#endif #include "res_debug.h" #include "res_private.h" -- cgit v1.1