summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/bits
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2006-12-08 21:52:02 +0000
committerEric Andersen <andersen@codepoet.org>2006-12-08 21:52:02 +0000
commitcba2c53724a6ed35f32775ec38906268c1bbd340 (patch)
treed4324de6ec86bdd0a2b8b2727c4df776c1d3b412 /libc/sysdeps/linux/common/bits
parent1139d948d552743b75a1b32a70ce7dbd488bc8a3 (diff)
seems this is the newfangled way to tell folks this stuff
is really really and we mean it this time, for uClibc only
Diffstat (limited to 'libc/sysdeps/linux/common/bits')
-rw-r--r--libc/sysdeps/linux/common/bits/uClibc_pthread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/bits/uClibc_pthread.h b/libc/sysdeps/linux/common/bits/uClibc_pthread.h
index ab26ae9e8..3d25ac4e8 100644
--- a/libc/sysdeps/linux/common/bits/uClibc_pthread.h
+++ b/libc/sysdeps/linux/common/bits/uClibc_pthread.h
@@ -27,7 +27,7 @@
# error "Always include <pthread.h> rather than <bits/uClibc_pthread.h>"
#endif
-#ifdef _LIBC
+#if defined _LIBC && (defined IS_IN_libc || defined NOT_IN_libc)
extern int __pthread_mutex_init (pthread_mutex_t *__restrict __mutex,
__const pthread_mutexattr_t *__restrict __mutex_attr) attribute_hidden;
extern int __pthread_mutex_trylock (pthread_mutex_t *__mutex) attribute_hidden;