commit | 432dfcf3bc2653a1163a2db9e6b5b38a3c9681e1 | [log] [tgz] |
---|---|---|
author | Stefan Krah <skrah@bytereef.org> | Tue Apr 26 16:20:17 2016 +0200 |
committer | Stefan Krah <skrah@bytereef.org> | Tue Apr 26 16:20:17 2016 +0200 |
tree | b6f2f7e973968a4d9c06af68775563aa71234068 | |
parent | a653a27591bc260ba1281eca6a24a665170736d0 [diff] [blame] |
Issue #26857: Workaround for missing symbol "gethostbyaddr_r" on Android.
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 @@ # include <sys/uio.h> #endif -#ifndef WITH_THREAD +#if !defined(WITH_THREAD) || defined(__ANDROID__) # undef HAVE_GETHOSTBYNAME_R #endif