From b4c96dea9744f322cd871369999d24b9cdf85ca3 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Tue, 14 Feb 2017 23:07:32 +0100 Subject: [PATCH] remove double definition of IPPROTO_IPV6 IPPROTO_IPV6 is already defined further above in the same way --- Modules/socketmodule.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 8d0f9e6df8a718..7aa213e082f8c1 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