svn commit: trunk/uClibc/libc/sysdeps/linux/common/bits

andersen at uclibc.org andersen at uclibc.org
Fri Dec 8 21:52:02 UTC 2006


Author: andersen
Date: 2006-12-08 13:52:02 -0800 (Fri, 08 Dec 2006)
New Revision: 16823

Log:
seems this is the newfangled way to tell folks this stuff
is really really and we mean it this time, for uClibc only


Modified:
   trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_pthread.h


Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_pthread.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_pthread.h	2006-12-08 21:24:15 UTC (rev 16822)
+++ trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_pthread.h	2006-12-08 21:52:02 UTC (rev 16823)
@@ -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;




More information about the uClibc-cvs mailing list