mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +00:00
Patch #1657276: Make NETLINK_DNRTMSG conditional.
This commit is contained in:
parent
f7f888a2f8
commit
1e335b2968
2 changed files with 4 additions and 0 deletions
|
@ -4363,7 +4363,9 @@ init_socket(void)
|
|||
PyModule_AddIntConstant(m, "NETLINK_ROUTE6", NETLINK_ROUTE6);
|
||||
#endif
|
||||
PyModule_AddIntConstant(m, "NETLINK_IP6_FW", NETLINK_IP6_FW);
|
||||
#ifdef NETLINK_DNRTMSG
|
||||
PyModule_AddIntConstant(m, "NETLINK_DNRTMSG", NETLINK_DNRTMSG);
|
||||
#endif
|
||||
#ifdef NETLINK_TAPBASE
|
||||
PyModule_AddIntConstant(m, "NETLINK_TAPBASE", NETLINK_TAPBASE);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue