htl: Avoid check-installed-headers looking at inlines

This commit is contained in:
Samuel Thibault 2020-02-09 16:41:24 +00:00
parent 865bf71109
commit e622ce98c5

View File

@ -1,6 +1,7 @@
#ifndef _PTHREAD_H #ifndef _PTHREAD_H
#include_next <pthread.h> #include_next <pthread.h>
#if defined __USE_EXTERN_INLINES && defined _LIBC && !IS_IN (libsupport) #ifndef _ISOMAC
# if defined __USE_EXTERN_INLINES && defined _LIBC && !IS_IN (libsupport)
# include <bits/spin-lock-inline.h> # include <bits/spin-lock-inline.h>
__extern_inline int __extern_inline int
@ -32,5 +33,6 @@ pthread_spin_unlock (pthread_spinlock_t *__lock)
{ {
return __pthread_spin_unlock (__lock); return __pthread_spin_unlock (__lock);
} }
# endif
#endif #endif
#endif #endif