From 3d84f558a80b0c224b6c36808fd8f1fee8ace752 Mon Sep 17 00:00:00 2001 From: mread Date: Wed, 16 Feb 2011 15:19:33 +0000 Subject: Trigger for using RFastLock __SYMBIAN_KERNEL_HYBRID_HEAP__ is not directly related to RFastLock's timed wait functions, but it was added at about the right time so is effective. Task-number: QTBUG-13990 Reviewed-by: Shane Kearns --- src/corelib/thread/qmutex_p.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -#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 -- cgit v0.12