Fixes for Watt-32 on Windows and MSDOS (#354)

Move the prototype to 'ares_private.h'.

Fix By: Gisle Vanem (@gvanem)
pull/357/head
Gisle Vanem 4 years ago committed by GitHub
parent 04bafcefa5
commit 745b825077
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/lib/ares_gethostbyaddr.c

@ -208,7 +208,6 @@ static int file_lookup(struct ares_addr *addr, struct hostent **host)
strcat(PATH_HOSTS, WIN_PATH_HOSTS);
#elif defined(WATT32)
extern const char *_w32_GetHostsFile (void);
const char *PATH_HOSTS = _w32_GetHostsFile();
if (!PATH_HOSTS)

Loading…
Cancel
Save