Mercurial > cpython-lru_cache-weakref
diff Modules/socketmodule.c @ 40838:885a77fd5c01 2.5
Patch #1657276: Make NETLINK_DNRTMSG conditional.
| author | Martin v. Löwis <martin@v.loewis.de> |
|---|---|
| date | Tue, 13 Feb 2007 12:14:29 +0000 |
| parents | 26b713a19534 |
| children | c2bf3d646eff |
line wrap: on
line diff
--- a/Modules/socketmodule.c Tue Feb 13 12:08:34 2007 +0000 +++ b/Modules/socketmodule.c Tue Feb 13 12:14:29 2007 +0000 @@ -4363,7 +4363,9 @@ 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
