summaryrefslogtreecommitdiffstats
path: root/tests/auto/qbytearraymatcher
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-08-31 13:24:37 +0200
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-08-31 13:26:27 +0200
commitc5ea7fd39a737ee16e82a6ef49a3149758b96e2b (patch)
treef14c1b1c25661bbd78f8ffb1de9a3c64a5319232 /tests/auto/qbytearraymatcher
parent94355ca15a4d451f4a4b858240e2c1a96e26537b (diff)
Fix autotests to build on Windows.
Basically breakage by <windows.h> being included from the OpenGL parts of <QtGui/QtGui> included from <QtTest/QtTest>. Change-Id: Id285fb89c64bf77e2408faac5688acd085579351 Reviewed-on: http://codereview.qt.nokia.com/3952 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'tests/auto/qbytearraymatcher')
-rw-r--r--tests/auto/qbytearraymatcher/tst_qbytearraymatcher.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/qbytearraymatcher/tst_qbytearraymatcher.cpp b/tests/auto/qbytearraymatcher/tst_qbytearraymatcher.cpp
index ff6de8e9f4..09a3dfdf7d 100644
--- a/tests/auto/qbytearraymatcher/tst_qbytearraymatcher.cpp
+++ b/tests/auto/qbytearraymatcher/tst_qbytearraymatcher.cpp
@@ -44,6 +44,11 @@
#include <qbytearraymatcher.h>
+// COM interface
+#if defined(Q_OS_WIN) && defined(interface)
+# undef interface
+#endif
+
class tst_QByteArrayMatcher : public QObject
{
Q_OBJECT