summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/thread')
-rw-r--r--src/corelib/thread/qmutex.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/corelib/thread/qmutex.cpp b/src/corelib/thread/qmutex.cpp
index 35bb3ac78e..305074f096 100644
--- a/src/corelib/thread/qmutex.cpp
+++ b/src/corelib/thread/qmutex.cpp
@@ -577,7 +577,16 @@ void QRecursiveMutexPrivate::unlock() Q_DECL_NOTHROW
}
}
-
QT_END_NAMESPACE
+#ifdef QT_LINUX_FUTEX
+# include "qmutex_linux.cpp"
+#elif defined(Q_OS_MAC)
+# include "qmutex_mac.cpp"
+#elif defined(Q_OS_WIN)
+# include "qmutex_win.cpp"
+#else
+# include "qmutex_unix.cpp"
+#endif
+
#endif // QT_NO_THREAD