Mercurial > cpython-lru_cache-weakref
diff Modules/socketmodule.c @ 44630:354be0dafe54 legacy-trunk
Comment-out missing constant (from rev 59819)
| author | Raymond Hettinger <python@rcn.com> |
|---|---|
| date | Fri, 11 Jan 2008 02:12:33 +0000 |
| parents | ac51cfe5c5c6 |
| children | 2ad3e35c5825 |
line wrap: on
line diff
--- a/Modules/socketmodule.c Fri Jan 11 01:25:54 2008 +0000 +++ b/Modules/socketmodule.c Fri Jan 11 02:12:33 2008 +0000 @@ -4591,7 +4591,7 @@ /* 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);
