summaryrefslogtreecommitdiff
path: root/src/enums
diff options
context:
space:
mode:
Diffstat (limited to 'src/enums')
-rw-r--r--src/enums/gui/chattabtype.h9
-rw-r--r--src/enums/gui/npcactionstate.h7
2 files changed, 15 insertions, 1 deletions
diff --git a/src/enums/gui/chattabtype.h b/src/enums/gui/chattabtype.h
index 8b032a1f4..f37a98db6 100644
--- a/src/enums/gui/chattabtype.h
+++ b/src/enums/gui/chattabtype.h
@@ -23,6 +23,13 @@
#include "enums/simpletypes/enumdefines.h"
+#ifdef INPUT
+#undef INPUT
+#endif // INPUT
+
+PRAGMAMINGW(GCC diagnostic push)
+PRAGMAMINGW(GCC diagnostic ignored "-Wshadow")
+
enumStart(ChatTabType)
{
UNKNOWN = 0,
@@ -39,4 +46,6 @@ enumStart(ChatTabType)
}
enumEnd(ChatTabType);
+PRAGMAMINGW(GCC diagnostic pop)
+
#endif // ENUMS_GUI_CHATTABTYPE_H
diff --git a/src/enums/gui/npcactionstate.h b/src/enums/gui/npcactionstate.h
index c044d74aa..d541b3013 100644
--- a/src/enums/gui/npcactionstate.h
+++ b/src/enums/gui/npcactionstate.h
@@ -26,9 +26,12 @@
#include "enums/simpletypes/enumdefines.h"
#ifdef INPUT
-#undef
+#undef INPUT
#endif // INPUT
+PRAGMAMINGW(GCC diagnostic push)
+PRAGMAMINGW(GCC diagnostic ignored "-Wshadow")
+
enumStart(NpcActionState)
{
WAIT = 0,
@@ -38,4 +41,6 @@ enumStart(NpcActionState)
}
enumEnd(NpcActionState);
+PRAGMAMINGW(GCC diagnostic pop)
+
#endif // ENUMS_GUI_NPCACTIONSTATE_H