Skip to content

Commit 2ef75ec

Browse files
Update Include/pythread.h
Co-authored-by: Bénédikt Tran <[email protected]>
1 parent e2f9c41 commit 2ef75ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Include/pythread.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ PyAPI_FUNC(unsigned long) PyThread_get_thread_ident(void);
4242
#if (defined(__APPLE__) || defined(__linux__) || defined(_WIN32) \
4343
|| defined(__FreeBSD__) || defined(__FreeBSD_kernel__) \
4444
|| defined(__OpenBSD__) || defined(__NetBSD__) \
45-
|| defined(__DragonFly__) || defined(_AIX)) \
46-
|| defined(__sun__) && SIZEOF_LONG >= 8
45+
|| defined(__DragonFly__) || defined(_AIX) \
46+
|| (defined(__sun__) && SIZEOF_LONG >= 8))
4747
#define PY_HAVE_THREAD_NATIVE_ID
4848
PyAPI_FUNC(unsigned long) PyThread_get_thread_native_id(void);
4949
#endif

0 commit comments

Comments
 (0)