summaryrefslogtreecommitdiffstats
path: root/lib/libc/resolv/res_send.c
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-12-15 05:37:09 +0000
committerngie <ngie@FreeBSD.org>2015-12-15 05:37:09 +0000
commita91f621c6e2380a9a23b0e3c8fcf784c09f5971c (patch)
treef6cad772fcb32461234b38af930488799cdf6d36 /lib/libc/resolv/res_send.c
parent2278607d5fdffd38d675b8d8bf0447e8a3eb23ea (diff)
downloadFreeBSD-src-a91f621c6e2380a9a23b0e3c8fcf784c09f5971c.zip
FreeBSD-src-a91f621c6e2380a9a23b0e3c8fcf784c09f5971c.tar.gz
Allow users override `DEBUG` on the command line via DEBUG_FLAGS="-DDEBUG" with
lib/libc/resolv by conditionalizing its definition MFC after: 3 days Reviewed by: ume, vangyzen Differential Revision: https://reviews.freebsd.org/D4519
Diffstat (limited to 'lib/libc/resolv/res_send.c')
-rw-r--r--lib/libc/resolv/res_send.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/resolv/res_send.c b/lib/libc/resolv/res_send.c
index 5690491..c127c3b 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"
OpenPOWER on IntegriCloud