aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorAlejandro Marzini2010-08-12 06:45:13 +0000
committerAlejandro Marzini2010-08-12 06:45:13 +0000
commite18c9a189006108a33d5e32ae20ce2fa1bebaf7d (patch)
treefafa470ae4aad2da392cf4bbe9adb61979df9e4a /common
parent58d256c15e2622b5344628d1d0ac53a28e44d0ab (diff)
downloadscummvm-rg350-e18c9a189006108a33d5e32ae20ce2fa1bebaf7d.tar.gz
scummvm-rg350-e18c9a189006108a33d5e32ae20ce2fa1bebaf7d.tar.bz2
scummvm-rg350-e18c9a189006108a33d5e32ae20ce2fa1bebaf7d.zip
Fix for AmigaOS build.
KEYCODE_LESS and KEYCODE_GREATER are defined in AmigaOS SDK, but they are defined also in common/keyboard.h svn-id: r52030
Diffstat (limited to 'common')
-rw-r--r--common/scummsys.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/common/scummsys.h b/common/scummsys.h
index 96639716ea..994fdf593d 100644
--- a/common/scummsys.h
+++ b/common/scummsys.h
@@ -323,6 +323,13 @@
#define SCUMM_BIG_ENDIAN
#define SCUMM_NEED_ALIGNMENT
+#ifdef KEYCODE_LESS
+ #undef KEYCODE_LESS
+#endif
+#ifdef KEYCODE_GREATER
+ #undef KEYCODE_GREATER
+#endif
+
#elif defined (__DS__)
#define scumm_stricmp stricmp