Commit 09979a13 authored by Hirokazu Yamamoto's avatar Hirokazu Yamamoto

Issue #3945: Fixed compile error on cygwin. (initializer element is not constant)

Reviewed by Amaury Forgeot d'Arc.
parent fe7c26d9
......@@ -831,7 +831,7 @@ static PyGetSetDef fileio_getsetlist[] = {
};
PyTypeObject PyFileIO_Type = {
PyVarObject_HEAD_INIT(&PyType_Type, 0)
PyVarObject_HEAD_INIT(NULL, 0)
"_FileIO",
sizeof(PyFileIOObject),
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