diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-06-04 23:56:38 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-06-04 23:56:38 +0200 |
commit | 2ed134739e322e51d0cf495b6969affe829bed43 (patch) | |
tree | 1dde9b2877db24e3addf27deef0c22cbdf6a852a /PC/pyconfig.h | |
parent | cd70a417785125183f6b1256f02da3b9b808dcfc (diff) | |
download | cpython-2ed134739e322e51d0cf495b6969affe829bed43.tar.gz |
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).
Diffstat (limited to 'PC/pyconfig.h')
-rw-r--r-- | PC/pyconfig.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/PC/pyconfig.h b/PC/pyconfig.h index c5f16e580f..8c4c7f3fa5 100644 --- a/PC/pyconfig.h +++ b/PC/pyconfig.h @@ -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 */ |