diff options
Diffstat (limited to 'common/keyboard.h')
-rw-r--r-- | common/keyboard.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/common/keyboard.h b/common/keyboard.h index 8f93fed91c..40491fda6b 100644 --- a/common/keyboard.h +++ b/common/keyboard.h @@ -28,6 +28,15 @@ #include "common/scummsys.h" +#if defined(__amigaos4__) +// KEYCODE_LESS and KEYCODE_GREATER are already defined in AmigaOS, inside +// include/include_h/intuition/intuition.h (bug #3121350) +#if defined(KEYCODE_LESS) && defined(KEYCODE_GREATER) +#undef KEYCODE_LESS +#undef KEYCODE_GREATER +#endif +#endif + namespace Common { enum KeyCode { |