fixed compiling DNS code again

This commit is contained in:
sg
2015-09-08 06:03:27 +02:00
parent 77270adb96
commit 1e4f312352
2 changed files with 13 additions and 1 deletions

View File

@@ -297,7 +297,7 @@ err_t netconn_gethostbyname_addrtype(const char *name, ip_addr_t *addr, u8_t d
#define netconn_gethostbyname(name, addr) netconn_gethostbyname_addrtype(name, addr, NETCONN_DNS_DEFAULT)
#else /* LWIP_IPV4 && LWIP_IPV6 */
err_t netconn_gethostbyname(const char *name, ip_addr_t *addr);
#define netconn_gethostbyname_addrtype(name, addr, dns_addrtype netconn_gethostbyname(name, addr)
#define netconn_gethostbyname_addrtype(name, addr, dns_addrtype) netconn_gethostbyname(name, addr)
#endif /* LWIP_IPV4 && LWIP_IPV6 */
#endif /* LWIP_DNS */