summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/my_pthread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/my_pthread.h b/include/my_pthread.h
index 8051d75c59e..24f3fd62b8e 100644
--- a/include/my_pthread.h
+++ b/include/my_pthread.h
@@ -45,7 +45,7 @@ extern "C" {
TODO: Remove this code when fixed versions of glibc6 are in common use.
*/
-#if defined(TARGET_OS_LINUX) && defined(HAVE_NPTL) &&
+#if defined(TARGET_OS_LINUX) && defined(HAVE_NPTL) && \
defined(__GLIBC__) && ( __GLIBC__ < 2 || __GLIBC__ == 2 && __GLIBC_MINOR__ < 5 )
#define NPTL_PTHREAD_EXIT_BUG 1
#endif