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

Reviewed by Amaury Forgeot d'Arc.
This commit is contained in:
Hirokazu Yamamoto 2008-09-23 16:11:09 +00:00
parent fe7c26d942
commit 09979a137a
1 changed files with 1 additions and 1 deletions

View File

@ -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,