summaryrefslogtreecommitdiff
path: root/src/enums/state.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/enums/state.h')
-rw-r--r--src/enums/state.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/enums/state.h b/src/enums/state.h
index 581f6a352..4eb363c3c 100644
--- a/src/enums/state.h
+++ b/src/enums/state.h
@@ -25,6 +25,10 @@
#include "enums/simpletypes/enumdefines.h"
+#ifdef WIN32
+#undef ERROR
+#endif
+
enumStart(State)
{
ERROR = -1,