summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-02-09 16:41:24 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-02-09 16:42:36 +0000
commite622ce98c58b61e1c61dc7ff0c8b3f9ba23c3d9a (patch)
tree57ab78f9400d23516e73bb4b661e7471f0b7194c /sysdeps
parent865bf7110936d46c01a673e3327a6bd8b2a06082 (diff)
downloadglibc-e622ce98c58b61e1c61dc7ff0c8b3f9ba23c3d9a.tar.gz
glibc-e622ce98c58b61e1c61dc7ff0c8b3f9ba23c3d9a.tar.xz
glibc-e622ce98c58b61e1c61dc7ff0c8b3f9ba23c3d9a.zip
htl: Avoid check-installed-headers looking at inlines
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/htl/include/pthread.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/htl/include/pthread.h b/sysdeps/htl/include/pthread.h
index 173b1eb08d..a9c0e58b00 100644
--- a/sysdeps/htl/include/pthread.h
+++ b/sysdeps/htl/include/pthread.h
@@ -1,7 +1,8 @@
 #ifndef	_PTHREAD_H
 #include_next <pthread.h>
-#if defined __USE_EXTERN_INLINES && defined _LIBC && !IS_IN (libsupport)
-# include <bits/spin-lock-inline.h>
+#ifndef _ISOMAC
+# if defined __USE_EXTERN_INLINES && defined _LIBC && !IS_IN (libsupport)
+#  include <bits/spin-lock-inline.h>
 
 __extern_inline int
 pthread_spin_destroy (pthread_spinlock_t *__lock)
@@ -32,5 +33,6 @@ pthread_spin_unlock (pthread_spinlock_t *__lock)
 {
   return __pthread_spin_unlock (__lock);
 }
+# endif
 #endif
 #endif