diff options
author | ngie <ngie@FreeBSD.org> | 2015-12-15 05:37:09 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2015-12-15 05:37:09 +0000 |
commit | a91f621c6e2380a9a23b0e3c8fcf784c09f5971c (patch) | |
tree | f6cad772fcb32461234b38af930488799cdf6d36 /lib/libc/resolv/res_mkquery.c | |
parent | 2278607d5fdffd38d675b8d8bf0447e8a3eb23ea (diff) | |
download | FreeBSD-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.c | 4 |
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[]; |