aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/supernova/msn_def.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/supernova/msn_def.h b/engines/supernova/msn_def.h
index 6c5dcc0321..a71e85ae8d 100644
--- a/engines/supernova/msn_def.h
+++ b/engines/supernova/msn_def.h
@@ -23,6 +23,11 @@
#ifndef SUPERNOVA_MSN_DEF_H
#define SUPERNOVA_MSN_DEF_H
+// Avoid error on expansion of macro switch in the ObjectID enum below
+#ifdef SWITCH
+#undef SWITCH
+#endif
+
#include "common/scummsys.h"
namespace Supernova {