PATH_RESOLV_CONF: use empty string instead of NULL to prevent warnings

pull/600/head
Brad House 1 year ago
parent 17136d8f29
commit 18396b3c25
  1. 4
      src/lib/ares_private.h

@ -79,7 +79,7 @@
# define INTERFACES_KEY "Interfaces"
# define DOMAIN_KEY "Domain"
# define DHCPDOMAIN_KEY "DhcpDomain"
# define PATH_RESOLV_CONF NULL
# define PATH_RESOLV_CONF ""
#elif defined(WATT32)
# define PATH_RESOLV_CONF "/dev/ENV/etc/resolv.conf"
@ -92,7 +92,7 @@ W32_FUNC const char *_w32_GetHostsFile(void);
#elif defined(__riscos__)
# define PATH_RESOLV_CONF NULL
# define PATH_RESOLV_CONF ""
# define PATH_HOSTS "InetDBase:Hosts"
#elif defined(__HAIKU__)

Loading…
Cancel
Save