mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 21:05:08 +00:00
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
This commit is contained in:
parent
d876d6c34a
commit
8a615d0fa8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=292250
|
@ -116,7 +116,9 @@ __FBSDID("$FreeBSD$");
|
|||
|
||||
/*% Options. Should all be left alone. */
|
||||
#define RESOLVSORT
|
||||
#define DEBUG
|
||||
#ifndef DEBUG
|
||||
#define DEBUG
|
||||
#endif
|
||||
|
||||
#ifdef SOLARIS2
|
||||
#include <sys/systeminfo.h>
|
||||
|
|
|
@ -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[];
|
||||
|
||||
|
|
|
@ -54,7 +54,9 @@ __FBSDID("$FreeBSD$");
|
|||
#include "port_after.h"
|
||||
|
||||
/* Options. Leave them on. */
|
||||
#define DEBUG
|
||||
#ifndef DEBUG
|
||||
#define DEBUG
|
||||
#endif
|
||||
#define MAXPORT 1024
|
||||
|
||||
static int getnum_str(u_char **, u_char *);
|
||||
|
|
|
@ -88,7 +88,9 @@ __FBSDID("$FreeBSD$");
|
|||
#include "port_after.h"
|
||||
|
||||
/* Options. Leave them on. */
|
||||
#define DEBUG
|
||||
#ifndef DEBUG
|
||||
#define DEBUG
|
||||
#endif
|
||||
|
||||
#if PACKETSZ > 1024
|
||||
#define MAXPACKET PACKETSZ
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue