diff options
Diffstat (limited to 'PC')
-rwxr-xr-x | PC/msvcrtmodule.c | 2 | ||||
-rw-r--r-- | PC/pyconfig.h | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/PC/msvcrtmodule.c b/PC/msvcrtmodule.c index 2714458..4584370 100755 --- a/PC/msvcrtmodule.c +++ b/PC/msvcrtmodule.c @@ -98,7 +98,7 @@ static PyObject * msvcrt_get_osfhandle(PyObject *self, PyObject *args) { int fd; - intptr_t handle; + Py_intptr_t handle; if (!PyArg_ParseTuple(args,"i:get_osfhandle", &fd)) return NULL; diff --git a/PC/pyconfig.h b/PC/pyconfig.h index 1e279ed..f287605 100644 --- a/PC/pyconfig.h +++ b/PC/pyconfig.h @@ -294,10 +294,6 @@ typedef int pid_t; #if _MSC_VER >= 1200 /* This file only exists in VC 6.0 or higher */ #include <basetsd.h> #endif -#if defined(MS_WINDOWS) && !defined(MS_WIN64) -typedef long intptr_t; -typedef unsigned long uintptr_t; -#endif #if defined(MS_WIN64) /* maintain "win32" sys.platform for backward compatibility of Python code, |