diff options
author | Stefan Krah <skrah@bytereef.org> | 2016-04-26 14:20:17 (GMT) |
---|---|---|
committer | Stefan Krah <skrah@bytereef.org> | 2016-04-26 14:20:17 (GMT) |
commit | 432dfcf3bc2653a1163a2db9e6b5b38a3c9681e1 (patch) | |
tree | b6f2f7e973968a4d9c06af68775563aa71234068 /Modules/socketmodule.c | |
parent | a653a27591bc260ba1281eca6a24a665170736d0 (diff) | |
download | cpython-432dfcf3bc2653a1163a2db9e6b5b38a3c9681e1.zip cpython-432dfcf3bc2653a1163a2db9e6b5b38a3c9681e1.tar.gz cpython-432dfcf3bc2653a1163a2db9e6b5b38a3c9681e1.tar.bz2 |
Issue #26857: Workaround for missing symbol "gethostbyaddr_r" on Android.
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r-- | Modules/socketmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index ec35fb9..46eeed1 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -163,7 +163,7 @@ if_indextoname(index) -- return the corresponding interface name\n\ # include <sys/uio.h> #endif -#ifndef WITH_THREAD +#if !defined(WITH_THREAD) || defined(__ANDROID__) # undef HAVE_GETHOSTBYNAME_R #endif |