Skip to content

Commit

Permalink
compilation failure
Browse files Browse the repository at this point in the history
  • Loading branch information
vuvova committed Jun 27, 2017
1 parent 28f4832 commit b9b030f
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions include/ma_pthread.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b9b030f

Please sign in to comment.