From b9b030f4dcff923e43edea9eae78f19e02a47244 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Tue, 27 Jun 2017 16:30:58 +0200 Subject: [PATCH] compilation failure --- include/ma_pthread.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/include/ma_pthread.h b/include/ma_pthread.h index c1ee9151..7383367e 100644 --- a/include/ma_pthread.h +++ b/include/ma_pthread.h @@ -508,16 +508,6 @@ extern int my_rw_trywrlock(my_rw_lock_t *); #define MY_MUTEX_INIT_SLOW NULL #define MY_MUTEX_INIT_FAST NULL #define MY_MUTEX_INIT_ERRCHK NULL -#ifdef PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP -extern pthread_mutexattr_t my_fast_mutexattr; -#undef MY_MUTEX_INIT_FAST -#define MY_MUTEX_INIT_FAST &my_fast_mutexattr -#endif -#ifdef PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP -extern pthread_mutexattr_t my_errchk_mutexattr; -#undef MY_INIT_MUTEX_ERRCHK -#define MY_INIT_MUTEX_ERRCHK &my_errchk_mutexattr -#endif extern my_bool my_thread_global_init(void); extern void my_thread_global_end(void);