diff options
| author | Felix Fietkau | 2015-11-04 18:33:16 +0000 |
|---|---|---|
| committer | Felix Fietkau | 2015-11-04 18:33:16 +0000 |
| commit | a921e3ded051746f9f7cd5e5a312fb6771716aac (patch) | |
| tree | dae850f60c3bd1143723cda01575a76b9483303f | |
| parent | 308e9964bfb623773dc0dcc99ef9d18d1551d6ae (diff) | |
| download | librpc-uclibc-master.tar.gz | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
| -rw-r--r-- | rpc/compat.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/rpc/compat.h b/rpc/compat.h index b49fe77..ad8319c 100644 --- a/rpc/compat.h +++ b/rpc/compat.h @@ -14,16 +14,12 @@ #include <poll.h> #include <pthread.h> -#ifdef __UCLIBC__ -#include <bits/libc-lock.h> -#else #undef __UCLIBC_MUTEX_STATIC #undef __UCLIBC_MUTEX_LOCK #undef __UCLIBC_MUTEX_UNLOCK #define __UCLIBC_MUTEX_STATIC(M,I) static pthread_mutex_t M = I #define __UCLIBC_MUTEX_LOCK(M) pthread_mutex_lock(&(M)) #define __UCLIBC_MUTEX_UNLOCK(M) pthread_mutex_unlock(&(M)) -#endif #define smallint int |