]> granicus.if.org Git - libevent/commitdiff
Generating evdns_base_config_windows_nameservers docs on all platforms
authordpayne <darby.payne@gmail.com>
Tue, 3 Apr 2018 22:43:22 +0000 (15:43 -0700)
committerAzat Khuzhin <azat@libevent.org>
Sat, 2 Feb 2019 12:17:55 +0000 (15:17 +0300)
(cherry picked from commit 791e3de0c38f9f413f33addcac2d8bca68590ca6)

include/event2/dns.h

index 80da2dee62ce9569acafb8a5516b9fcdeb5d0289..902544c2944b23fe1cdeac319330e5c2a6363914 100644 (file)
@@ -478,7 +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
+#if defined(EVENT_IN_DOXYGEN_) || defined(_WIN32)
 /**
   Obtain nameserver information using the Windows API.