From: Maximilian Hils Date: Tue, 14 Feb 2017 22:46:08 +0000 (+0100) Subject: Remove double definition of IPPROTO_IPV6 (#100) X-Git-Tag: v3.7.0a1~1341 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5ec08cea9574cf53c985af5dbed6bc3d56ff58b7;p=python Remove double definition of IPPROTO_IPV6 (#100) IPPROTO_IPV6 is already defined further above in the same way. --- diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 8d0f9e6df8..7aa213e082 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -7238,9 +7238,6 @@ PyInit__socket(void) #ifdef IPPROTO_TP PyModule_AddIntMacro(m, IPPROTO_TP); #endif -#ifdef IPPROTO_IPV6 - PyModule_AddIntMacro(m, IPPROTO_IPV6); -#endif #ifdef IPPROTO_ROUTING PyModule_AddIntMacro(m, IPPROTO_ROUTING); #endif