mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
bpo-11717: fix ssize_t redefinition error when targeting 32bit Windows app (GH-24479)
This commit is contained in:
parent
0242494a15
commit
c994ffe695
5 changed files with 181 additions and 179 deletions
|
@ -24,7 +24,7 @@ _Py_IDENTIFIER(n_sequence_fields);
|
|||
_Py_IDENTIFIER(n_fields);
|
||||
_Py_IDENTIFIER(n_unnamed_fields);
|
||||
|
||||
static ssize_t
|
||||
static Py_ssize_t
|
||||
get_type_attr_as_size(PyTypeObject *tp, _Py_Identifier *id)
|
||||
{
|
||||
PyObject *name = _PyUnicode_FromId(id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue