mirror of
https://github.com/python/cpython
synced 2026-09-29 10:35:30 +03:00
bpo-43571: Add IPPROTO_MPTCP macro (GH-24946)
Add IPPROTO_MPTCP constant when defined in the system headers.
This commit is contained in:
parent
66c8adfa27
commit
b05b48dd7a
4 changed files with 10 additions and 0 deletions
|
|
@ -7927,6 +7927,9 @@ PyInit__socket(void)
|
|||
#ifdef IPPROTO_BIP
|
||||
PyModule_AddIntMacro(m, IPPROTO_BIP);
|
||||
#endif
|
||||
#ifdef IPPROTO_MPTCP
|
||||
PyModule_AddIntMacro(m, IPPROTO_MPTCP);
|
||||
#endif
|
||||
/**/
|
||||
#ifdef IPPROTO_RAW
|
||||
PyModule_AddIntMacro(m, IPPROTO_RAW);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue