summaryrefslogtreecommitdiffstats
path: root/src/testlib/qbenchmark_p.h
diff options
context:
space:
mode:
authorMorten Sørvig <msorvig@trolltech.com>2009-06-04 10:16:36 (GMT)
committerMorten Sørvig <msorvig@trolltech.com>2009-06-04 10:16:36 (GMT)
commit57ba2d64ba2f261e869ec5242350fc41906e5f96 (patch)
tree2e73982d051b86e92aa1dba89fe614fc61a4fc9a /src/testlib/qbenchmark_p.h
parent59653437cbc37f9644aa540c46701c2142939198 (diff)
downloadQt-57ba2d64ba2f261e869ec5242350fc41906e5f96.zip
Qt-57ba2d64ba2f261e869ec5242350fc41906e5f96.tar.gz
Qt-57ba2d64ba2f261e869ec5242350fc41906e5f96.tar.bz2
Enable valgrind on Mac OS X as well.
Diffstat (limited to 'src/testlib/qbenchmark_p.h')
-rw-r--r--src/testlib/qbenchmark_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testlib/qbenchmark_p.h b/src/testlib/qbenchmark_p.h
index b6340f8..f3cd094 100644
--- a/src/testlib/qbenchmark_p.h
+++ b/src/testlib/qbenchmark_p.h
@@ -55,7 +55,7 @@
#include <QtCore/qglobal.h>
-#if defined(Q_OS_LINUX) && !defined(QT_NO_PROCESS)
+#if (defined(Q_OS_LINUX) || defined Q_OS_MAC) && !defined(QT_NO_PROCESS)
#define QTESTLIB_USE_VALGRIND
#else
#undef QTESTLIB_USE_VALGRIND