From: Christian Grothoff Date: Thu, 3 May 2012 07:47:50 +0000 (+0000) Subject: -make doxygen happy X-Git-Tag: initial-import-from-subversion-38251~13706 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=457bae11cd28f65a55ec0ac153992e17ca8a71a2;p=oweals%2Fgnunet.git -make doxygen happy --- diff --git a/src/gns/nss/nss_gns.c b/src/gns/nss/nss_gns.c index 28c342390..9755ea111 100644 --- a/src/gns/nss/nss_gns.c +++ b/src/gns/nss/nss_gns.c @@ -33,19 +33,25 @@ #include #include -#elif defined(NSS_IPV4_ONLY) +#ifdef NSS_IPV4_ONLY #define _nss_mdns_gethostbyname2_r _nss_gns4_minimal_gethostbyname2_r #define _nss_mdns_gethostbyname_r _nss_gns4_minimal_gethostbyname_r #define _nss_mdns_gethostbyaddr_r _nss_gns4_minimal_gethostbyaddr_r -#elif defined(NSS_IPV6_ONLY) +#endif + +#ifdef NSS_IPV6_ONLY #define _nss_mdns_gethostbyname2_r _nss_gns6_gethostbyname2_r #define _nss_mdns_gethostbyname_r _nss_gns6_gethostbyname_r #define _nss_mdns_gethostbyaddr_r _nss_gns6_gethostbyaddr_r -#else +#endif + +#ifndef NSS_IPV4_ONLY +#ifndef NSS_IPV6_ONLY #define _nss_mdns_gethostbyname2_r _nss_gns_gethostbyname2_r #define _nss_mdns_gethostbyname_r _nss_gns_gethostbyname_r #define _nss_mdns_gethostbyaddr_r _nss_gns_gethostbyaddr_r #endif +#endif /* Maximum number of entries to return */ #define MAX_ENTRIES 16