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:
Christian Heimes 2008-01-04 13:33:00 +00:00
parent 8fd7b0c1a7
commit c36625b05d
6 changed files with 19 additions and 6 deletions

View file

@ -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 *