commit | 09979a137a225a0f447ad7cf49b3961e1875bff9 | [log] [tgz] |
---|---|---|
author | Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> | Tue Sep 23 16:11:09 2008 +0000 |
committer | Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> | Tue Sep 23 16:11:09 2008 +0000 |
tree | ba8a3b38760b4854bf16b6142f61a38abb8bf1d2 | |
parent | fe7c26d94274febc77b707324086306b1d96354b [diff] |
Issue #3945: Fixed compile error on cygwin. (initializer element is not constant) Reviewed by Amaury Forgeot d'Arc.
diff --git a/Modules/_fileio.c b/Modules/_fileio.c index c3d61b4..d7f7893 100644 --- a/Modules/_fileio.c +++ b/Modules/_fileio.c
@@ -831,7 +831,7 @@ }; PyTypeObject PyFileIO_Type = { - PyVarObject_HEAD_INIT(&PyType_Type, 0) + PyVarObject_HEAD_INIT(NULL, 0) "_FileIO", sizeof(PyFileIOObject), 0,