correct PTHREAD_MUTEX_ERRORCHECK macro define

pull/12/head
yuqing 2017-01-20 10:43:08 +08:00
parent 87995c650d
commit f76f3f6206
1 changed files with 2 additions and 0 deletions

View File

@ -51,8 +51,10 @@ extern int pthread_mutexattr_settype(pthread_mutexattr_t *attr, int kind);
#include "_os_define.h"
#ifdef OS_LINUX
#ifndef PTHREAD_MUTEX_ERRORCHECK
#define PTHREAD_MUTEX_ERRORCHECK PTHREAD_MUTEX_ERRORCHECK_NP
#endif
#endif
#ifdef OS_BITS
#if OS_BITS == 64