summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/IceUtil/RecMutex.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/cpp/src/IceUtil/RecMutex.cpp b/cpp/src/IceUtil/RecMutex.cpp
index cf47bd519e7..b6f0086ce67 100644
--- a/cpp/src/IceUtil/RecMutex.cpp
+++ b/cpp/src/IceUtil/RecMutex.cpp
@@ -125,11 +125,7 @@ IceUtil::RecMutex::init(const MutexProtocol protocol)
throw ThreadSyscallException(__FILE__, __LINE__, rc);
}
-#if defined(__linux) && !defined(__USE_UNIX98)
- rc = pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE_NP);
-#else
rc = pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
-#endif
assert(rc == 0);
if(rc != 0)
{