X-Git-Url: http://git.archive.openwrt.org/?p=project%2Flibrpc-uclibc.git;a=blobdiff_plain;f=rpc%2Fcompat.h;fp=rpc%2Fcompat.h;h=ad8319cbd39b9c93436069301667307afe24ec5a;hp=b49fe770b4cd3704773a4060454a694b1dee6de4;hb=a921e3ded051746f9f7cd5e5a312fb6771716aac;hpb=308e9964bfb623773dc0dcc99ef9d18d1551d6ae 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 #include -#ifdef __UCLIBC__ -#include -#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