diff Modules/socketmodule.c @ 40837:3bbec91c5b8f legacy-trunk

Patch #1657276: Make NETLINK_DNRTMSG conditional. Will backport.
author Martin v. Löwis <martin@v.loewis.de>
date Tue, 13 Feb 2007 12:14:19 +0000
parents 6efe3a4b10ac
children 90e22fea8363
line wrap: on
line diff
--- a/Modules/socketmodule.c	Tue Feb 13 12:08:24 2007 +0000
+++ b/Modules/socketmodule.c	Tue Feb 13 12:14:19 2007 +0000
@@ -4383,7 +4383,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