Commit e716f95d authored by Vitja Makarov's avatar Vitja Makarov

<Py2.5 fix. define PY_WRITE_RESTRICTED if not defined

parent bc193220
...@@ -8822,6 +8822,10 @@ static PyGetSetDef __pyx_CyFunction_getsets[] = { ...@@ -8822,6 +8822,10 @@ static PyGetSetDef __pyx_CyFunction_getsets[] = {
{0, 0, 0, 0, 0} {0, 0, 0, 0, 0}
}; };
#ifndef PY_WRITE_RESTRICTED /* < Py2.5 */
#define PY_WRITE_RESTRICTED WRITE_RESTRICTED
#endif
static PyMemberDef __pyx_CyFunction_members[] = { static PyMemberDef __pyx_CyFunction_members[] = {
{"__module__", T_OBJECT, offsetof(__pyx_CyFunctionObject, func.m_module), PY_WRITE_RESTRICTED, 0}, {"__module__", T_OBJECT, offsetof(__pyx_CyFunctionObject, func.m_module), PY_WRITE_RESTRICTED, 0},
{NULL, 0, 0, 0, 0} {NULL, 0, 0, 0, 0}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment