6acf5ee33c3a223931092f872e7cbcbc25092698
1 #ifndef __UCLIBC_COMPAT_H
2 #define __UCLIBC_COMPAT_H
10 #undef __UCLIBC_HAS_THREADS__
11 #include <bits/uClibc_mutex.h>
15 #undef __UCLIBC_MUTEX_LOCK
16 #undef __UCLIBC_MUTEX_UNLOCK
17 #define __UCLIBC_MUTEX_LOCK(M) pthread_mutex_lock(&(M))
18 #define __UCLIBC_MUTEX_UNLOCK(M) pthread_mutex_unlock(&(M))
23 #define _(...) __VA_ARGS__
24 #define internal_function
25 #define attribute_hidden
26 #define attribute_unused
27 #define attribute_noreturn
28 #define libc_hidden_def(...)
30 #define __set_errno(_val) errno = _val