From cba2c53724a6ed35f32775ec38906268c1bbd340 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 8 Dec 2006 21:52:02 +0000 Subject: seems this is the newfangled way to tell folks this stuff is really really and we mean it this time, for uClibc only --- libc/sysdeps/linux/common/bits/uClibc_pthread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 rather than " #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; -- cgit v1.2.3