From 63ee841069628f4af58f7e3c27ac17c7ae711c43 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 14 Jan 2010 10:05:36 -0800 Subject: Relax condition for resolver constant definition. --- resolv/netdb.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'resolv') diff --git a/resolv/netdb.h b/resolv/netdb.h index 0835939..d72048c 100644 --- a/resolv/netdb.h +++ b/resolv/netdb.h @@ -53,22 +53,22 @@ __BEGIN_DECLS -#if defined __USE_GNU || !defined __USE_XOPEN2K8 +#if defined __USE_MISC || defined __USE_GNU || !defined __USE_XOPEN2K8 /* Error status for non-reentrant lookup functions. We use a macro to access always the thread-specific `h_errno' variable. */ -#define h_errno (*__h_errno_location ()) +# define h_errno (*__h_errno_location ()) /* Function to get address of global `h_errno' variable. */ extern int *__h_errno_location (void) __THROW __attribute__ ((__const__)); /* Possible values left in `h_errno'. */ -#define HOST_NOT_FOUND 1 /* Authoritative Answer Host not found. */ -#define TRY_AGAIN 2 /* Non-Authoritative Host not found, +# define HOST_NOT_FOUND 1 /* Authoritative Answer Host not found. */ +# define TRY_AGAIN 2 /* Non-Authoritative Host not found, or SERVERFAIL. */ -#define NO_RECOVERY 3 /* Non recoverable errors, FORMERR, REFUSED, +# define NO_RECOVERY 3 /* Non recoverable errors, FORMERR, REFUSED, NOTIMP. */ -#define NO_DATA 4 /* Valid name, no data record of requested +# define NO_DATA 4 /* Valid name, no data record of requested type. */ #endif #if defined __USE_MISC || defined __USE_GNU -- cgit v1.1