diff options
author | Max Bachmann <kontakt@maxbachmann.de> | 2023-02-24 12:38:21 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-24 12:38:21 (GMT) |
commit | 1fa38906f0b228e6b0a6baa89ab6316989b0388a (patch) | |
tree | 6b22b15ea33f2f31b5bcbbc0bb4011e087f3b3f0 /PC | |
parent | 347f7406df62b2bbe551685d72a466f27b951f8e (diff) | |
download | cpython-1fa38906f0b228e6b0a6baa89ab6316989b0388a.zip cpython-1fa38906f0b228e6b0a6baa89ab6316989b0388a.tar.gz cpython-1fa38906f0b228e6b0a6baa89ab6316989b0388a.tar.bz2 |
gh-102141: replace use of getpid on Windows with GetCurrentProcessId (GH-102142)
Diffstat (limited to 'PC')
-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 f5166a1..a34d420 100644 --- a/PC/pyconfig.h +++ b/PC/pyconfig.h @@ -72,6 +72,9 @@ WIN32 is still required for the locale module. #define USE_SOCKET #endif +#if defined(WINAPI_FAMILY) && (WINAPI_FAMILY != WINAPI_FAMILY_DESKTOP_APP) +#define MS_WINDOWS_NON_DESKTOP +#endif /* Compiler specific defines */ |