mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
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:
parent
fbf50d43da
commit
7e91e771a9
3 changed files with 7 additions and 4 deletions
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue