summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rts/posix/OSThreads.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/rts/posix/OSThreads.c b/rts/posix/OSThreads.c
index ee4958a2e8..6e01f82553 100644
--- a/rts/posix/OSThreads.c
+++ b/rts/posix/OSThreads.c
@@ -107,11 +107,7 @@ initMutex(Mutex* pMut)
#if defined(DEBUG)
pthread_mutexattr_t attr;
pthread_mutexattr_init(&attr);
-#if defined(linux_HOST_OS)
- pthread_mutexattr_settype(&attr,PTHREAD_MUTEX_ERRORCHECK_NP);
-#else
pthread_mutexattr_settype(&attr,PTHREAD_MUTEX_ERRORCHECK);
-#endif
pthread_mutex_init(pMut,&attr);
#else
pthread_mutex_init(pMut,NULL);