]> granicus.if.org Git - python/commitdiff
Comment-out missing constant (from rev 59819)
authorRaymond Hettinger <python@rcn.com>
Fri, 11 Jan 2008 02:12:33 +0000 (02:12 +0000)
committerRaymond Hettinger <python@rcn.com>
Fri, 11 Jan 2008 02:12:33 +0000 (02:12 +0000)
Modules/socketmodule.c

index e3f81db76020287be47e98bb5d1b5256156b0908..4e340a6b51a5a4156d8ae9a78a2c24a092ef0263 100644 (file)
@@ -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);