aboutsummaryrefslogtreecommitdiff
path: root/lib/System/Mutex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/System/Mutex.cpp')
-rw-r--r--lib/System/Mutex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/System/Mutex.cpp b/lib/System/Mutex.cpp
index 44e3332d17..467bc8522b 100644
--- a/lib/System/Mutex.cpp
+++ b/lib/System/Mutex.cpp
@@ -53,7 +53,7 @@ using namespace sys;
// is configured into the LIBS variable.
// Note: this line of code generates a warning if pthread_mutex_init is not
// declared with weak linkage. It's safe to ignore the warning.
-static const bool pthread_enabled = static_cast<bool>(pthread_mutex_init);
+static const bool pthread_enabled = true;
// Construct a Mutex using pthread calls
Mutex::Mutex( bool recursive)