summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qmutex_p.h
diff options
context:
space:
mode:
authorHarald Fernengel <harald.fernengel@nokia.com>2012-02-21 11:08:39 +0100
committerQt by Nokia <qt-info@nokia.com>2012-02-21 13:52:52 +0100
commitc69106d1bf66d64e046c4f639542457151187dfc (patch)
treee050b62e84a8f96dc68023e41ccba03cbdf7981e /src/corelib/thread/qmutex_p.h
parent4fad7ae76a0ea834a35737e9b79c3ac3818a8713 (diff)
Rename Q_MUTEX_LINUX to QT_LINUX_FUTEX
As requested by Thiago Change-Id: Ie5b00cf4e530e19d360d0bc588f0f051e04b338f Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'src/corelib/thread/qmutex_p.h')
-rw-r--r--src/corelib/thread/qmutex_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/thread/qmutex_p.h b/src/corelib/thread/qmutex_p.h
index 8a9d0bf39b..92f13b1b7d 100644
--- a/src/corelib/thread/qmutex_p.h
+++ b/src/corelib/thread/qmutex_p.h
@@ -65,7 +65,7 @@
#if defined(Q_OS_LINUX) && !defined(QT_LINUXBASE)
// use Linux mutexes everywhere except for LSB builds
-# define Q_MUTEX_LINUX
+# define QT_LINUX_FUTEX
#endif
QT_BEGIN_NAMESPACE
@@ -78,7 +78,7 @@ public:
: recursive(mode == QMutex::Recursive) {}
};
-#if !defined(Q_MUTEX_LINUX)
+#if !defined(QT_LINUX_FUTEX)
class QMutexPrivate : public QMutexData
{
public:
@@ -128,7 +128,7 @@ public:
Qt::HANDLE event;
#endif
};
-#endif //Q_MUTEX_LINUX
+#endif //QT_LINUX_FUTEX
class QRecursiveMutexPrivate : public QMutexData
{