From: Martin Panter Date: Sat, 25 Jun 2016 03:06:58 +0000 (+0000) Subject: Remove duplicate AF_INET6 addition X-Git-Tag: v3.6.0a3~78 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b466f8facf9ae8e893c30b7a7a76a8333b59d5c7;p=thirdparty%2FPython%2Fcpython.git Remove duplicate AF_INET6 addition --- diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 175e82f9bf21..f7fe218c4594 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -6247,9 +6247,6 @@ PyInit__socket(void) PyModule_AddIntMacro(m, AF_UNSPEC); #endif PyModule_AddIntMacro(m, AF_INET); -#ifdef AF_INET6 - PyModule_AddIntMacro(m, AF_INET6); -#endif /* AF_INET6 */ #if defined(AF_UNIX) PyModule_AddIntMacro(m, AF_UNIX); #endif /* AF_UNIX */