Issue #3945: Fixed compile error on cygwin. (initializer element is not constant)
Reviewed by Amaury Forgeot d'Arc.
This commit is contained in:
parent
fe7c26d942
commit
09979a137a
|
@ -831,7 +831,7 @@ static PyGetSetDef fileio_getsetlist[] = {
|
||||||
};
|
};
|
||||||
|
|
||||||
PyTypeObject PyFileIO_Type = {
|
PyTypeObject PyFileIO_Type = {
|
||||||
PyVarObject_HEAD_INIT(&PyType_Type, 0)
|
PyVarObject_HEAD_INIT(NULL, 0)
|
||||||
"_FileIO",
|
"_FileIO",
|
||||||
sizeof(PyFileIOObject),
|
sizeof(PyFileIOObject),
|
||||||
0,
|
0,
|
||||||
|
|
Loading…
Reference in New Issue