Android build fix

Apparently, the Linux Perf Counter is not supported on Android.

Change-Id: I38115d140a3ee783bfcd8a984d8832ffe5bbace4
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
bb10
Paul Olav Tvete 2013-03-07 13:03:34 +01:00 committed by The Qt Project
parent bf3adbcdf5
commit d66fe675ae
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@
#undef QTESTLIB_USE_VALGRIND
#endif
#if defined(Q_OS_LINUX) && !defined(QT_LINUXBASE)
#if defined(Q_OS_LINUX) && !defined(QT_LINUXBASE) && !defined(Q_OS_ANDROID)
#define QTESTLIB_USE_PERF_EVENTS
#else
#undef QTESTLIB_USE_PERF_EVENTS