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>
This commit is contained in:
parent
d482805856
commit
786d23bb49
@ -43,6 +43,10 @@
|
||||
#include <QtDBus/qdbusextratypes.h>
|
||||
#include <QtDBus/qdbusconnection.h>
|
||||
|
||||
#ifdef interface
|
||||
#undef interface
|
||||
#endif
|
||||
|
||||
#ifndef QT_NO_DBUS
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
@ -54,6 +54,10 @@
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#ifdef interface
|
||||
#undef interface
|
||||
#endif
|
||||
|
||||
#ifndef QT_NO_DBUS
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
@ -63,6 +63,9 @@
|
||||
#include "qdbusthreaddebug_p.h"
|
||||
|
||||
#include <algorithm>
|
||||
#ifdef interface
|
||||
#undef interface
|
||||
#endif
|
||||
|
||||
#ifndef QT_NO_DBUS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user