summaryrefslogtreecommitdiffstats
path: root/src/dbus/qdbusintegrator.cpp
diff options
context:
space:
mode:
authorAndreas Holzammer <andreas.holzammer@kdab.com>2016-02-03 11:53:57 +0100
committerJani Heikkinen <jani.heikkinen@theqtcompany.com>2016-02-05 04:14:28 +0000
commit786d23bb4966b6697ac04c43158e2312d898e133 (patch)
treefc5c8736dad4db6604eaae5b03aafb34faa95086 /src/dbus/qdbusintegrator.cpp
parentd482805856a83f39fdab32c76f10cf7d7d5e2112 (diff)
Fix dbus wince build
interface is a define under wince. This define is included even with standard header includes already. It needs to be undefined for using it. Task-number: QTBUG-50853 Change-Id: Ie44681f03709848e9747a8aec11835c8d62aa409 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/dbus/qdbusintegrator.cpp')
-rw-r--r--src/dbus/qdbusintegrator.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dbus/qdbusintegrator.cpp b/src/dbus/qdbusintegrator.cpp
index ebf42b0b06..cd448613d6 100644
--- a/src/dbus/qdbusintegrator.cpp
+++ b/src/dbus/qdbusintegrator.cpp
@@ -63,6 +63,9 @@
#include "qdbusthreaddebug_p.h"
#include <algorithm>
+#ifdef interface
+#undef interface
+#endif
#ifndef QT_NO_DBUS