mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
htl: Fix build error in annexc
We were getting ../scripts/evaluate-test.sh posix/annexc $? true false > /usr/src/glibc-upstream/build/posix/annexc.test-result In file included from ../include/pthread.h:1, from <stdin>:1: ../sysdeps/htl/include/pthread.h:7:62: error: missing binary operator before token "(" 7 | # if defined __USE_EXTERN_INLINES && defined _LIBC && !IS_IN (libsupport) | ^
This commit is contained in:
@@ -4,8 +4,9 @@
|
|||||||
|
|
||||||
# define ARCH_MIN_GUARD_SIZE 0
|
# define ARCH_MIN_GUARD_SIZE 0
|
||||||
|
|
||||||
# if defined __USE_EXTERN_INLINES && defined _LIBC && !IS_IN (libsupport)
|
# if defined __USE_EXTERN_INLINES && defined _LIBC
|
||||||
# include <bits/spin-lock-inline.h>
|
# if !IS_IN (libsupport)
|
||||||
|
# include <bits/spin-lock-inline.h>
|
||||||
|
|
||||||
__extern_inline int
|
__extern_inline int
|
||||||
pthread_spin_destroy (pthread_spinlock_t *__lock)
|
pthread_spin_destroy (pthread_spinlock_t *__lock)
|
||||||
@@ -36,6 +37,7 @@ pthread_spin_unlock (pthread_spinlock_t *__lock)
|
|||||||
{
|
{
|
||||||
return __pthread_spin_unlock (__lock);
|
return __pthread_spin_unlock (__lock);
|
||||||
}
|
}
|
||||||
|
# endif
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user