]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
htl: Avoid check-installed-headers looking at inlines
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 9 Feb 2020 16:41:24 +0000 (16:41 +0000)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 9 Feb 2020 16:42:36 +0000 (16:42 +0000)
sysdeps/htl/include/pthread.h

index 173b1eb08db87af9dacbd5b294e0c00ce476a312..a9c0e58b0027f9e6dc05fc3e47f553ec8530f54a 100644 (file)
@@ -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