commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd, commited] htl: Avoid check-installed-headers looking at inlines


From: Samuel Thibault
Subject: [hurd, commited] htl: Avoid check-installed-headers looking at inlines
Date: Sun, 9 Feb 2020 17:43:12 +0100

---
 sysdeps/htl/include/pthread.h | 6 ++++--
 1 file 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
-- 
2.24.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]