summaryrefslogtreecommitdiff
path: root/ares_gethostbyname.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-03-25 17:57:02 +0100
committerYang Tse <yangsita@gmail.com>2011-03-25 17:57:02 +0100
commit5e5c0132e6469a7eaa580ebc156fd87e650ee4cb (patch)
treefb894041cbb2b569083d420c0fc1514f8c3b03f1 /ares_gethostbyname.c
parente49ce8f97330789dc74d7e32d5d7b8828a7d557f (diff)
downloadc-ares-5e5c0132e6469a7eaa580ebc156fd87e650ee4cb.tar.gz
c-ares-5e5c0132e6469a7eaa580ebc156fd87e650ee4cb.tar.bz2
c-ares-5e5c0132e6469a7eaa580ebc156fd87e650ee4cb.zip
renamed getplatform() to ares__getplatform() to avoid namespace pollution
Diffstat (limited to 'ares_gethostbyname.c')
-rw-r--r--ares_gethostbyname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ares_gethostbyname.c b/ares_gethostbyname.c
index 5339fee..72f8f8b 100644
--- a/ares_gethostbyname.c
+++ b/ares_gethostbyname.c
@@ -349,7 +349,7 @@ static int file_lookup(const char *name, int family, struct hostent **host)
PATH_HOSTS[0] = '\0';
- platform = getplatform();
+ platform = ares__getplatform();
if (platform == WIN_NT) {
char tmp[MAX_PATH];