Commit e4cdc7fc authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Use consistent test for OSX

parent bf5e38e6
...@@ -209,7 +209,7 @@ LCK_Init(void) ...@@ -209,7 +209,7 @@ LCK_Init(void)
{ {
AZ(pthread_mutexattr_init(&attr)); AZ(pthread_mutexattr_init(&attr));
#if !defined(__APPLE__) #if !defined(__APPLE__) && !defined(__MACH__)
AZ(pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ERRORCHECK)); AZ(pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ERRORCHECK));
#endif #endif
AZ(pthread_mutex_init(&lck_mtx, &attr)); AZ(pthread_mutex_init(&lck_mtx, &attr));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment