summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2017-02-14 22:46:08 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2017-02-14 22:46:08 (GMT)
commit5ec08cea9574cf53c985af5dbed6bc3d56ff58b7 (patch)
tree39011f4164ac38f08a7eb41063654e80cd436c5a /Modules
parent6de2b7817fa9403e81dc38f13f3690f0bbf3d064 (diff)
downloadcpython-5ec08cea9574cf53c985af5dbed6bc3d56ff58b7.zip
cpython-5ec08cea9574cf53c985af5dbed6bc3d56ff58b7.tar.gz
cpython-5ec08cea9574cf53c985af5dbed6bc3d56ff58b7.tar.bz2
Remove double definition of IPPROTO_IPV6 (#100)
IPPROTO_IPV6 is already defined further above in the same way.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/socketmodule.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index 8d0f9e6..7aa213e 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