aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorMax Horn2003-04-06 18:01:36 +0000
committerMax Horn2003-04-06 18:01:36 +0000
commit9d1769665647454bb7cb7ab4649dd143024051a2 (patch)
tree95f45ffbde0bc116348de1ce301b15358feb8c8f /common
parentd3d85bf0036969787a9f89b567a96d75f21241cf (diff)
downloadscummvm-rg350-9d1769665647454bb7cb7ab4649dd143024051a2.tar.gz
scummvm-rg350-9d1769665647454bb7cb7ab4649dd143024051a2.tar.bz2
scummvm-rg350-9d1769665647454bb7cb7ab4649dd143024051a2.zip
nope, not all big endian system require alignment
svn-id: r6922
Diffstat (limited to 'common')
-rw-r--r--common/scummsys.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/common/scummsys.h b/common/scummsys.h
index 5063cef29d..fe5e8d8a12 100644
--- a/common/scummsys.h
+++ b/common/scummsys.h
@@ -101,9 +101,8 @@
#ifdef X11_BACKEND
- /* You need to set those manually */
+ // You need to set this manually if necessary
// #define SCUMM_LITTLE_ENDIAN
- /* #define SCUMM_NEED_ALIGNMENT */
#else
/* need this for the SDL_BYTEORDER define */
@@ -113,12 +112,14 @@
#define SCUMM_LITTLE_ENDIAN
#elif SDL_BYTEORDER == SDL_BIG_ENDIAN
#define SCUMM_BIG_ENDIAN
- #define SCUMM_NEED_ALIGNMENT
#else
#error Neither SDL_BIG_ENDIAN nor SDL_LITTLE_ENDIAN is set.
#endif
#endif
+ // You need to set this manually if necessary
+// #define SCUMM_NEED_ALIGNMENT
+
#define FORCEINLINE inline
#define CDECL