summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Burchell <robin.burchell@collabora.com>2011-12-16 18:32:46 +0100
committerQt by Nokia <qt-info@nokia.com>2011-12-21 07:50:30 +0100
commita09fdd91cf16e3e6a623197e192458a32e671a1f (patch)
tree9d9ed2173bd1fc156bca137da86165cc4172d862
parentbf4177e9db09fa87b0bc0acae1b8555b1af8f841 (diff)
Fix -tickcounter in qtestlib.
HAVE_TICK_COUNTER is supposed to be set (if possible) from cycle_p.h, so guarding cycle_p.h's inclusion with HAVE_TICK_COUNTER ensures it will never be set. Change-Id: I6313d0a2efd47c89522623e8e7b3f505489ded90 Reviewed-by: David Faure <faure@kde.org> Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
-rw-r--r--src/testlib/qbenchmarkmeasurement_p.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/testlib/qbenchmarkmeasurement_p.h b/src/testlib/qbenchmarkmeasurement_p.h
index 53e44fd531..c493d96dd6 100644
--- a/src/testlib/qbenchmarkmeasurement_p.h
+++ b/src/testlib/qbenchmarkmeasurement_p.h
@@ -54,9 +54,7 @@
//
#include <QtCore/qelapsedtimer.h>
-#ifdef HAVE_TICK_COUNTER
#include <QtTest/private/cycle_p.h>
-#endif
#include <QtTest/qbenchmark.h>
QT_BEGIN_NAMESPACE