summaryrefslogtreecommitdiff
path: root/ares_private.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-01-05 07:57:32 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-01-05 07:57:32 +0000
commitd07656e76d757b72602d69d649d723964896baaf (patch)
tree11e6e2b805a23109b18be71ebcb87303ffb3b2e9 /ares_private.h
parentdccda3c23748997ca9c1766804bfc961f789678d (diff)
downloadc-ares-d07656e76d757b72602d69d649d723964896baaf.tar.gz
c-ares-d07656e76d757b72602d69d649d723964896baaf.tar.bz2
c-ares-d07656e76d757b72602d69d649d723964896baaf.zip
James Bursa fixes: find the hosts file on RISC OS, and made it build with
newer gcc versions that no longer defines "riscos".
Diffstat (limited to 'ares_private.h')
-rw-r--r--ares_private.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ares_private.h b/ares_private.h
index 83b77d2..df51266 100644
--- a/ares_private.h
+++ b/ares_private.h
@@ -62,6 +62,10 @@
#define PATH_RESOLV_CONF "sys:/etc/resolv.cfg"
#define PATH_HOSTS "sys:/etc/hosts"
+#elif defined(__riscos__)
+
+#define PATH_HOSTS "InetDBase:Hosts"
+
#else
#define PATH_RESOLV_CONF "/etc/resolv.conf"