From 09979a137a225a0f447ad7cf49b3961e1875bff9 Mon Sep 17 00:00:00 2001 From: Hirokazu Yamamoto Date: Tue, 23 Sep 2008 16:11:09 +0000 Subject: [PATCH] Issue #3945: Fixed compile error on cygwin. (initializer element is not constant) Reviewed by Amaury Forgeot d'Arc. --- Modules/_fileio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_fileio.c b/Modules/_fileio.c index c3d61b440e..d7f7893671 100644 --- a/Modules/_fileio.c +++ b/Modules/_fileio.c @@ -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, -- 2.49.0