summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2017-03-12 14:21:57 (GMT)
committer Slávek Banko <slavek.banko@axis.cz>2017-03-12 14:21:57 (GMT)
commit9bbdfea568b8ae52b76aa8366612130403158320 (patch)
tree947af28ad27d0f17a2f7c2c349a659a5e0ecfa32
parentd49abd0e620781964b5d8c06799e3c6544e0a9ed (diff)
downloadtqt3-9bbdfea5.zip
tqt3-9bbdfea5.tar.gz
Do not force POSIX mutexes on FreeBSD
This relates to bug 2462 See comments on bug 2744 Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--src/tools/qmutex_unix.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/qmutex_unix.cpp b/src/tools/qmutex_unix.cpp
index df7fd7a..ac466fd 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))