Skip to content

Commit 5ec08ce

Browse files
mhilsberkerpeksag
authored andcommitted
Remove double definition of IPPROTO_IPV6 (#100)
IPPROTO_IPV6 is already defined further above in the same way.
1 parent 6de2b78 commit 5ec08ce

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Modules/socketmodule.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7238,9 +7238,6 @@ PyInit__socket(void)
72387238
#ifdef IPPROTO_TP
72397239
PyModule_AddIntMacro(m, IPPROTO_TP);
72407240
#endif
7241-
#ifdef IPPROTO_IPV6
7242-
PyModule_AddIntMacro(m, IPPROTO_IPV6);
7243-
#endif
72447241
#ifdef IPPROTO_ROUTING
72457242
PyModule_AddIntMacro(m, IPPROTO_ROUTING);
72467243
#endif

0 commit comments

Comments
 (0)