]> granicus.if.org Git - libevent/commitdiff
Fixing doxygen docs for evdns_base_search_clear when generated on non-windows machines
authordpayne <darby.payne@gmail.com>
Tue, 3 Apr 2018 22:17:51 +0000 (15:17 -0700)
committerdpayne <darby.payne@gmail.com>
Tue, 3 Apr 2018 22:17:51 +0000 (15:17 -0700)
include/event2/dns.h

index 2025b9e67f9cb4aa7a7e43af29a797a40ae53e4c..80da2dee62ce9569acafb8a5516b9fcdeb5d0289 100644 (file)
@@ -478,6 +478,7 @@ int evdns_base_resolv_conf_parse(struct evdns_base *base, int flags, const char
 EVENT2_EXPORT_SYMBOL
 int evdns_base_load_hosts(struct evdns_base *base, const char *hosts_fname);
 
+#ifdef _WIN32
 /**
   Obtain nameserver information using the Windows API.
 
@@ -488,7 +489,6 @@ int evdns_base_load_hosts(struct evdns_base *base, const char *hosts_fname);
   @return 0 if successful, or -1 if an error occurred
   @see evdns_resolv_conf_parse()
  */
-#ifdef _WIN32
 EVENT2_EXPORT_SYMBOL
 int evdns_base_config_windows_nameservers(struct evdns_base *);
 #define EVDNS_BASE_CONFIG_WINDOWS_NAMESERVERS_IMPLEMENTED