summaryrefslogtreecommitdiffstats
path: root/Modules/socketmodule.c
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2008-01-11 02:12:33 (GMT)
committerRaymond Hettinger <python@rcn.com>2008-01-11 02:12:33 (GMT)
commita7d984e838d509e5ff41fd89be6aaa338a8b4834 (patch)
tree74bd54eb1933abf9d577d1b1683bafdb71d3f930 /Modules/socketmodule.c
parentfff4e6e17190bb62c542eed1a477819d37c35b71 (diff)
downloadcpython-a7d984e838d509e5ff41fd89be6aaa338a8b4834.zip
cpython-a7d984e838d509e5ff41fd89be6aaa338a8b4834.tar.gz
cpython-a7d984e838d509e5ff41fd89be6aaa338a8b4834.tar.bz2
Comment-out missing constant (from rev 59819)
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r--Modules/socketmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index e3f81db..4e340a6 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -4591,7 +4591,7 @@ init_socket(void)
/* for subscriptions */
PyModule_AddIntConstant(m, "TIPC_SUB_PORTS", TIPC_SUB_PORTS);
PyModule_AddIntConstant(m, "TIPC_SUB_SERVICE", TIPC_SUB_SERVICE);
- PyModule_AddIntConstant(m, "TIPC_SUB_CANCEL", TIPC_SUB_CANCEL);
+ /* PyModule_AddIntConstant(m, "TIPC_SUB_CANCEL", TIPC_SUB_CANCEL); XXX This var is missing on gcc (GCC) 4.1.1 (Gentoo 4.1.1) and it breaks the build */
PyModule_AddIntConstant(m, "TIPC_WAIT_FOREVER", TIPC_WAIT_FOREVER);
PyModule_AddIntConstant(m, "TIPC_PUBLISHED", TIPC_PUBLISHED);
PyModule_AddIntConstant(m, "TIPC_WITHDRAWN", TIPC_WITHDRAWN);