aboutsummaryrefslogtreecommitdiff
path: root/ares/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
commit00c7780fcb3f1503481663beb60b1c6e0d2447db (patch)
treeec9dba091230ec54bf6fc8a77913bcb931d1ca60 /ares/ares_private.h
parent15ab13dc421fef4e36381438be692b19269ca3c8 (diff)
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/ares_private.h')
-rw-r--r--ares/ares_private.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ares/ares_private.h b/ares/ares_private.h
index 83b77d2a4..df51266dc 100644
--- a/ares/ares_private.h
+++ b/ares/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"