diff options
author | Maximilian Hils <git@maximilianhils.com> | 2017-02-14 23:46:08 +0100 |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2017-02-15 01:46:08 +0300 |
commit | 5ec08cea9574cf53c985af5dbed6bc3d56ff58b7 (patch) | |
tree | 39011f4164ac38f08a7eb41063654e80cd436c5a /Modules/socketmodule.c | |
parent | 6de2b7817fa9403e81dc38f13f3690f0bbf3d064 (diff) | |
download | cpython-git-5ec08cea9574cf53c985af5dbed6bc3d56ff58b7.tar.gz |
Remove double definition of IPPROTO_IPV6 (#100)
IPPROTO_IPV6 is already defined further above in the same way.
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r-- | Modules/socketmodule.c | 3 |
1 files changed, 0 insertions, 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 |