summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/corelib/thread/qmutex_p.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/corelib/thread/qmutex_p.h b/src/corelib/thread/qmutex_p.h
index 789d1f0..c213c80 100644
--- a/src/corelib/thread/qmutex_p.h
+++ b/src/corelib/thread/qmutex_p.h
@@ -64,7 +64,11 @@
#if defined(Q_OS_SYMBIAN)
# include <e32std.h>
-#undef QT_SYMBIAN_USE_RFASTLOCK
+# ifdef __SYMBIAN_KERNEL_HYBRID_HEAP__
+# define QT_SYMBIAN_USE_RFASTLOCK
+# else
+# undef QT_SYMBIAN_USE_RFASTLOCK
+# endif
#endif
QT_BEGIN_NAMESPACE