aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_interface/src/connect/ei_resolve.c
diff options
context:
space:
mode:
authorHenrik Nord <[email protected]>2014-03-21 16:39:02 +0100
committerHenrik Nord <[email protected]>2014-03-21 16:39:05 +0100
commita4030a89eb9a22d250dba2793f274f8731126ea8 (patch)
tree620592b3560f98be67f71f70fd5596cc110ecd70 /lib/erl_interface/src/connect/ei_resolve.c
parentc9da6c2f06efa410462299a20e10206843082ac8 (diff)
parentf43a1dc55d42de3097f75ca65baead9a2ff05c78 (diff)
downloadotp-a4030a89eb9a22d250dba2793f274f8731126ea8.tar.gz
otp-a4030a89eb9a22d250dba2793f274f8731126ea8.tar.bz2
otp-a4030a89eb9a22d250dba2793f274f8731126ea8.zip
Merge branch 'fogfish/embedded-arm-android'
* fogfish/embedded-arm-android: Raspberry PI / Android a minimal cross-compile configuration OTP-11805
Diffstat (limited to 'lib/erl_interface/src/connect/ei_resolve.c')
-rw-r--r--lib/erl_interface/src/connect/ei_resolve.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/erl_interface/src/connect/ei_resolve.c b/lib/erl_interface/src/connect/ei_resolve.c
index 74dcba61a7..cffcac801c 100644
--- a/lib/erl_interface/src/connect/ei_resolve.c
+++ b/lib/erl_interface/src/connect/ei_resolve.c
@@ -642,7 +642,7 @@ struct hostent *ei_gethostbyname_r(const char *name,
#ifndef HAVE_GETHOSTBYNAME_R
return my_gethostbyname_r(name,hostp,buffer,buflen,h_errnop);
#else
-#if (defined(__GLIBC__) || (__FreeBSD_version >= 602000) || defined(__DragonFly__))
+#if (defined(__GLIBC__) || (__FreeBSD_version >= 602000) || defined(__DragonFly__) || defined(__ANDROID__))
struct hostent *result;
gethostbyname_r(name, hostp, buffer, buflen, &result, h_errnop);