summaryrefslogtreecommitdiffstats
path: root/lib/libc/resolv/res_mkquery.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_mkquery.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_mkquery.c')
-rw-r--r--lib/libc/resolv/res_mkquery.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/resolv/res_mkquery.c b/lib/libc/resolv/res_mkquery.c
index b60d8f5..0d45e34 100644
--- a/lib/libc/resolv/res_mkquery.c
+++ b/lib/libc/resolv/res_mkquery.c
@@ -83,7 +83,9 @@ __FBSDID("$FreeBSD$");
#include "port_after.h"
/* Options. Leave them on. */
-#define DEBUG
+#ifndef DEBUG
+#define DEBUG
+#endif
extern const char *_res_opcodes[];
OpenPOWER on IntegriCloud