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:
Lubomir I. Ivanov 2017-07-16 00:19:18 +03:00 committed by Dirk Hohndel
parent c2e172a874
commit ab7d6a73d4

View file

@ -3,6 +3,8 @@
#include <QQuickWidget>
#undef IGNORE
class QResizeEvent;
class QQuickItem;
struct dive_site;