Issue #21124: Fix building _struct on Cygwin.
Patch by Masayuki Yamamoto.
This commit is contained in:
parent
14b4b41cdc
commit
854adb1e01
|
@ -175,6 +175,10 @@ Windows
|
|||
Build
|
||||
-----
|
||||
|
||||
- Issue #21124: Fix building the _struct module on Cygwin by passing ``NULL``
|
||||
instead of ``&PyType_Type`` to PyVarObject_HEAD_INIT. Patch by Masayuki
|
||||
Yamamoto.
|
||||
|
||||
- Issue #13756: Fix building extensions modules on Cygwin. Patch by Roumen
|
||||
Petrov, based on original patch by Jason Tishler.
|
||||
|
||||
|
|
|
@ -1650,7 +1650,7 @@ unpackiter_iternext(unpackiterobject *self)
|
|||
}
|
||||
|
||||
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 */
|
||||
|
|
Loading…
Reference in New Issue