summaryrefslogtreecommitdiff
path: root/ares_setup.h
diff options
context:
space:
mode:
authorGuenter Knauf <lists@gknw.net>2012-04-16 10:34:05 +0200
committerGuenter Knauf <lists@gknw.net>2012-04-16 10:34:05 +0200
commit7d3f34115657eaf47a21b1a42d515fd2f9776227 (patch)
treef71545a8667e4309c677557625543401d4704a07 /ares_setup.h
parent995fa144d97a80f87b40a1e335eb72a938026d48 (diff)
downloadc-ares-7d3f34115657eaf47a21b1a42d515fd2f9776227.tar.gz
c-ares-7d3f34115657eaf47a21b1a42d515fd2f9776227.tar.bz2
c-ares-7d3f34115657eaf47a21b1a42d515fd2f9776227.zip
Check for __ANDROID__ in addition to ANDROID macro.
Diffstat (limited to 'ares_setup.h')
-rw-r--r--ares_setup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ares_setup.h b/ares_setup.h
index 9cd7d2c..4df7961 100644
--- a/ares_setup.h
+++ b/ares_setup.h
@@ -179,7 +179,7 @@
* Android does have the arpa/nameser.h header which is detected by configure
* but it appears to be empty with recent NDK r7b / r7c, so we undefine here.
*/
-#if defined(__ANDROID__) && defined(HAVE_ARPA_NAMESER_H)
+#if (defined(ANDROID) || defined(__ANDROID__)) && defined(HAVE_ARPA_NAMESER_H)
# undef HAVE_ARPA_NAMESER_H
#endif