gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r21233 - gnunet/src/gns/nss


From: gnunet
Subject: [GNUnet-SVN] r21233 - gnunet/src/gns/nss
Date: Thu, 3 May 2012 09:47:50 +0200

Author: grothoff
Date: 2012-05-03 09:47:50 +0200 (Thu, 03 May 2012)
New Revision: 21233

Modified:
   gnunet/src/gns/nss/nss_gns.c
Log:
-make doxygen happy

Modified: gnunet/src/gns/nss/nss_gns.c
===================================================================
--- gnunet/src/gns/nss/nss_gns.c        2012-05-02 19:48:33 UTC (rev 21232)
+++ gnunet/src/gns/nss/nss_gns.c        2012-05-03 07:47:50 UTC (rev 21233)
@@ -33,19 +33,25 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]