summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-06-13 22:54:04 (GMT)
committerGitHub <noreply@github.com>2019-06-13 22:54:04 (GMT)
commit886d83e5aa8df2dd2e93421d2f614438a3244a1c (patch)
treeb3ab61e34f4a2195637ffa8e1f3b3b54d7625a7e /Include
parent5282b3b1d2e0bdf13899b1616aea20a6e3c4e13e (diff)
downloadcpython-886d83e5aa8df2dd2e93421d2f614438a3244a1c.zip
cpython-886d83e5aa8df2dd2e93421d2f614438a3244a1c.tar.gz
cpython-886d83e5aa8df2dd2e93421d2f614438a3244a1c.tar.bz2
bpo-37077: Add native thread ID (TID) for AIX (GH-13624)
This is the followup for issue36084 https://bugs.python.org/issue37077 (cherry picked from commit d0eeb936d8daf05d7d89f6935e3f4c0dee49c5be) Co-authored-by: Michael Felt <aixtools@users.noreply.github.com>
Diffstat (limited to 'Include')
-rw-r--r--Include/pythread.h2
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