mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
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
1 changed files with 2 additions and 0 deletions
|
@ -3,6 +3,8 @@
|
|||
|
||||
#include <QQuickWidget>
|
||||
|
||||
#undef IGNORE
|
||||
|
||||
class QResizeEvent;
|
||||
class QQuickItem;
|
||||
struct dive_site;
|
||||
|
|
Loading…
Reference in a new issue