diff options
author | Thierry Crozat | 2019-07-28 15:37:11 +0100 |
---|---|---|
committer | Thierry Crozat | 2019-07-28 15:37:48 +0100 |
commit | b2db0d910e21fc76439a0d03b6aed0aac23e6ada (patch) | |
tree | 49eb4098626a8dcc578fbac7d8e97b44322dc156 /engines | |
parent | 731965589bd6075892a29fd2dc5eaff781ffd75c (diff) | |
download | scummvm-rg350-b2db0d910e21fc76439a0d03b6aed0aac23e6ada.tar.gz scummvm-rg350-b2db0d910e21fc76439a0d03b6aed0aac23e6ada.tar.bz2 scummvm-rg350-b2db0d910e21fc76439a0d03b6aed0aac23e6ada.zip |
SUPERNOVA: Attempt to fix compilation for Nintendo Switch
Diffstat (limited to 'engines')
-rw-r--r-- | engines/supernova/msn_def.h | 5 |
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 { |