aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTri Vo <trong@google.com>2018-09-05 14:21:19 -0700
committerTri Vo <trong@google.com>2018-09-12 21:58:19 +0000
commit4e9590af22268e6732168f9875f4d269101bdd72 (patch)
treef675655835307ac5420a0f404931a3b22c93d960
parent95e290af7dd2dd8441d9c0d7a0fbee7b9d0dfc38 (diff)
downloadplatform_external_python_cpython2-pie-vts-dev.tar.gz
platform_external_python_cpython2-pie-vts-dev.tar.bz2
platform_external_python_cpython2-pie-vts-dev.zip
Enable IPv6 on x86[_64] device-side python.pie-vts-dev
Bug: 110557541 Test: kernel_net_test against aosp_x86_64 Change-Id: Id5af5f4e95481adefc79903580e6bc07b5e63410 Merged-In: Id5af5f4e95481adefc79903580e6bc07b5e63410 (cherry picked from commit c11d3ff7a9f11da18fdcea56f4f36098f39ed720)
-rw-r--r--android_x86/pyconfig/pyconfig.h4
-rw-r--r--android_x86_64/pyconfig/pyconfig.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/android_x86/pyconfig/pyconfig.h b/android_x86/pyconfig/pyconfig.h
index ac22474b55..68b2e4234e 100644
--- a/android_x86/pyconfig/pyconfig.h
+++ b/android_x86/pyconfig/pyconfig.h
@@ -35,7 +35,7 @@
/* #undef DOUBLE_IS_LITTLE_ENDIAN_IEEE754 */
/* Define if --enable-ipv6 is specified */
-/* #undef ENABLE_IPV6 */
+#define ENABLE_IPV6
/* Define if flock needs to be linked with bsd library. */
/* #undef FLOCK_NEEDS_LIBBSD */
@@ -273,7 +273,7 @@
/* #define HAVE_GCC_ASM_FOR_X87 1 */
/* Define if you have the getaddrinfo function. */
-/* #undef HAVE_GETADDRINFO */
+#define HAVE_GETADDRINFO 1
/* Define to 1 if you have the `getcwd' function. */
#define HAVE_GETCWD 1
diff --git a/android_x86_64/pyconfig/pyconfig.h b/android_x86_64/pyconfig/pyconfig.h
index 9d5920022c..b7659ccbe4 100644
--- a/android_x86_64/pyconfig/pyconfig.h
+++ b/android_x86_64/pyconfig/pyconfig.h
@@ -35,7 +35,7 @@
/* #undef DOUBLE_IS_LITTLE_ENDIAN_IEEE754 */
/* Define if --enable-ipv6 is specified */
-/* #undef ENABLE_IPV6 */
+#define ENABLE_IPV6
/* Define if flock needs to be linked with bsd library. */
/* #undef FLOCK_NEEDS_LIBBSD */
@@ -273,7 +273,7 @@
/* #define HAVE_GCC_ASM_FOR_X87 1 */
/* Define if you have the getaddrinfo function. */
-/* #undef HAVE_GETADDRINFO */
+#define HAVE_GETADDRINFO 1
/* Define to 1 if you have the `getcwd' function. */
#define HAVE_GETCWD 1