From: Raymond Hettinger Date: Fri, 11 Jan 2008 02:12:33 +0000 (+0000) Subject: Comment-out missing constant (from rev 59819) X-Git-Tag: v2.6a1~649 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a7d984e838d509e5ff41fd89be6aaa338a8b4834;p=python Comment-out missing constant (from rev 59819) --- diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index e3f81db760..4e340a6b51 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);