From 9bbdfea568b8ae52b76aa8366612130403158320 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 12 Mar 2017 15:21:57 +0100 Subject: Do not force POSIX mutexes on FreeBSD This relates to bug 2462 See comments on bug 2744 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- src/tools/qmutex_unix.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tools/qmutex_unix.cpp') diff --git a/src/tools/qmutex_unix.cpp b/src/tools/qmutex_unix.cpp index df7fd7a87..ac466fd88 100644 --- a/src/tools/qmutex_unix.cpp +++ b/src/tools/qmutex_unix.cpp @@ -45,8 +45,8 @@ typedef pthread_mutex_t Q_MUTEX_T; // POSIX threads mutex types -#if ((defined(PTHREAD_MUTEX_RECURSIVE) && defined(PTHREAD_MUTEX_DEFAULT)) || \ - defined(Q_OS_FREEBSD)) && !defined(Q_OS_UNIXWARE) && !defined(Q_OS_SOLARIS) && \ +#if (defined(PTHREAD_MUTEX_RECURSIVE) && defined(PTHREAD_MUTEX_DEFAULT)) && \ + !defined(Q_OS_UNIXWARE) && !defined(Q_OS_SOLARIS) && \ !defined(Q_OS_MAC) // POSIX 1003.1c-1995 - We love this OS # define Q_MUTEX_SET_TYPE(a, b) pthread_mutexattr_settype((a), (b)) -- cgit v1.2.1