From b2db0d910e21fc76439a0d03b6aed0aac23e6ada Mon Sep 17 00:00:00 2001 From: Thierry Crozat Date: Sun, 28 Jul 2019 15:37:11 +0100 Subject: SUPERNOVA: Attempt to fix compilation for Nintendo Switch --- engines/supernova/msn_def.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'engines') 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 { -- cgit v1.2.3