Close #17931: Fix PyLong_FromPid() on Windows 64-bit: processes are identified

by their HANDLE which is a pointer (and not a long, which is smaller).
This commit is contained in:
Victor Stinner 2013-06-04 23:56:38 +02:00
parent fbf50d43da
commit 7e91e771a9
3 changed files with 7 additions and 4 deletions

View file

@ -723,6 +723,9 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
/* The size of `wchar_t', as computed by sizeof. */
#define SIZEOF_WCHAR_T 2
/* The size of `pid_t' (HANDLE). */
#define SIZEOF_PID_T SIZEOF_VOID_P
/* Define if you have the dl library (-ldl). */
/* #undef HAVE_LIBDL */