1 #ifndef __UCLIBC_COMPAT_H
2 #define __UCLIBC_COMPAT_H
9 #undef __UCLIBC_HAS_THREADS__
10 #include <bits/uClibc_mutex.h>
14 #undef __UCLIBC_MUTEX_LOCK
15 #undef __UCLIBC_MUTEX_UNLOCK
16 #define __UCLIBC_MUTEX_LOCK(M) pthread_mutex_lock(&(M))
17 #define __UCLIBC_MUTEX_UNLOCK(M) pthread_mutex_unlock(&(M))
22 #define _(...) __VA_ARGS__
23 #define internal_function
24 #define attribute_hidden
25 #define attribute_unused
26 #define attribute_noreturn
27 #define libc_hidden_def(...)