From 5ec08cea9574cf53c985af5dbed6bc3d56ff58b7 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Tue, 14 Feb 2017 23:46:08 +0100 Subject: [PATCH] Remove double definition of IPPROTO_IPV6 (#100) 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 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 -- 2.40.0