diff options
author | Michael Felt <aixtools@users.noreply.github.com> | 2019-06-13 22:34:46 (GMT) |
---|---|---|
committer | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-06-13 22:34:46 (GMT) |
commit | d0eeb936d8daf05d7d89f6935e3f4c0dee49c5be (patch) | |
tree | 2f49b4e053b4e5ccc2c76e7f0cd85bbdea9d284a /Include/pythread.h | |
parent | 838f26402de82640698c38ea9d2be65c6cf780d6 (diff) | |
download | cpython-d0eeb936d8daf05d7d89f6935e3f4c0dee49c5be.zip cpython-d0eeb936d8daf05d7d89f6935e3f4c0dee49c5be.tar.gz cpython-d0eeb936d8daf05d7d89f6935e3f4c0dee49c5be.tar.bz2 |
bpo-37077: Add native thread ID (TID) for AIX (GH-13624)
This is the followup for issue36084
https://bugs.python.org/issue37077
Diffstat (limited to 'Include/pythread.h')
-rw-r--r-- | Include/pythread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/pythread.h b/Include/pythread.h index 79a9210..f22e8c4 100644 --- a/Include/pythread.h +++ b/Include/pythread.h @@ -26,7 +26,7 @@ PyAPI_FUNC(unsigned long) PyThread_start_new_thread(void (*)(void *), void *); PyAPI_FUNC(void) _Py_NO_RETURN PyThread_exit_thread(void); PyAPI_FUNC(unsigned long) PyThread_get_thread_ident(void); -#if defined(__APPLE__) || defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(_WIN32) +#if defined(__APPLE__) || defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(_WIN32) || defined(_AIX) #define PY_HAVE_THREAD_NATIVE_ID PyAPI_FUNC(unsigned long) PyThread_get_thread_native_id(void); #endif |