mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04: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
5 changed files with 15 additions and 5 deletions
|
|
@ -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