diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-06-04 21:56:38 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-06-04 21:56:38 (GMT) |
commit | 7e91e771a9348dcc28a9bac1a321a3bc1e3cfda8 (patch) | |
tree | 58a234bbf976ff1b2b0e8632b9b13f7f8b04a0bb /PC/pyconfig.h | |
parent | fbf50d43da6fbbf10ac715df4e1ee54de1be4c08 (diff) | |
download | cpython-7e91e771a9348dcc28a9bac1a321a3bc1e3cfda8.zip cpython-7e91e771a9348dcc28a9bac1a321a3bc1e3cfda8.tar.gz cpython-7e91e771a9348dcc28a9bac1a321a3bc1e3cfda8.tar.bz2 |
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 c5f16e5..8c4c7f3 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 */ |