mapwidget.h: force-undefine the IGNORE macro from winbase.h
By including <QQuickWidget>, <winbase.h> is included from <windows.h>. <winabase.h> has the IGNORE macro defined. Undefine it localy in mapwidget.h to prevent a conflict with maintah.h's EditMode::IGNORE enum. NOTE: possibly similar case to the undefine in btdeviceselectiondialog.h:22. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
parent
c2e172a874
commit
ab7d6a73d4
@ -3,6 +3,8 @@
|
||||
|
||||
#include <QQuickWidget>
|
||||
|
||||
#undef IGNORE
|
||||
|
||||
class QResizeEvent;
|
||||
class QQuickItem;
|
||||
struct dive_site;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user