Patch #1657276: Make NETLINK_DNRTMSG conditional.

This commit is contained in:
Martin v. Löwis 2007-02-13 12:14:29 +00:00
parent f7f888a2f8
commit 1e335b2968
2 changed files with 4 additions and 0 deletions

View File

@ -107,6 +107,8 @@ Core and builtins
Extension Modules
-----------------
- Patch #1657276: Make NETLINK_DNRTMSG conditional.
- Bug #1653736: Complain about keyword arguments to time.isoformat.
- operator.count() now raises an OverflowError when the count reaches sys.maxint.

View File

@ -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