commit | 854adb1e0175dc915f5b611a2c780df6213d7c4b | [log] [tgz] |
---|---|---|
author | Zachary Ware <zachary.ware@gmail.com> | Sun Oct 02 00:33:39 2016 -0500 |
committer | Zachary Ware <zachary.ware@gmail.com> | Sun Oct 02 00:33:39 2016 -0500 |
tree | 8cf57ec3b8532c27018fbf9628862536304e388d | |
parent | 14b4b41cdc5c44ede1496ae6d5f76373fe67e8ef [diff] [blame] |
Issue #21124: Fix building _struct on Cygwin. Patch by Masayuki Yamamoto.
diff --git a/Modules/_struct.c b/Modules/_struct.c index 796d168..9d48691 100644 --- a/Modules/_struct.c +++ b/Modules/_struct.c
@@ -1650,7 +1650,7 @@ } static PyTypeObject unpackiter_type = { - PyVarObject_HEAD_INIT(&PyType_Type, 0) + PyVarObject_HEAD_INIT(NULL, 0) "unpack_iterator", /* tp_name */ sizeof(unpackiterobject), /* tp_basicsize */ 0, /* tp_itemsize */