mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Some VS 6.0 compatibility fixes from Hirokazu Yamamoto which are also useful for later versions of MSVC. VS6 claims that fortran is a reserved word
This commit is contained in:
parent
8fd7b0c1a7
commit
c36625b05d
6 changed files with 19 additions and 6 deletions
|
@ -3530,7 +3530,7 @@ long_getnewargs(PyLongObject *v)
|
|||
|
||||
static PyObject *
|
||||
long_getN(PyLongObject *v, void *context) {
|
||||
return PyLong_FromLong((intptr_t)context);
|
||||
return PyLong_FromLong((Py_intptr_t)context);
|
||||
}
|
||||
|
||||
static PyObject *
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue