aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2009-11-23 22:29:02 +0000
committerMax Horn2009-11-23 22:29:02 +0000
commitf3c6e07feb97d6d7946ebaab0d27407722ca30af (patch)
tree98283412da39e520df000d903e935d696d016483
parent6312da6d13b15c4b71f324c0106c8883ee024f45 (diff)
downloadscummvm-rg350-f3c6e07feb97d6d7946ebaab0d27407722ca30af.tar.gz
scummvm-rg350-f3c6e07feb97d6d7946ebaab0d27407722ca30af.tar.bz2
scummvm-rg350-f3c6e07feb97d6d7946ebaab0d27407722ca30af.zip
Fix bug #2901669: AMIGAOS4: Compiler error
svn-id: r46106
-rwxr-xr-xconfigure5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure b/configure
index e26078d651..66fe94191e 100755
--- a/configure
+++ b/configure
@@ -1287,8 +1287,9 @@ case $_host_os in
amigaos*)
CXXFLAGS="$CXXFLAGS -mcrt=newlib -mstrict-align -mcpu=750 -mtune=7400"
LDFLAGS="$LDFLAGS -mcrt=newlib -use-dynld -Lsobjs:"
- # FIXME: Please document why 'long' has to be used instead of int
- #type_4_byte='long'
+ # We have to use 'long' for our 4 byte typedef because AmigaOS already typedefs (u)int32
+ # as (unsigned) long, and consequently we'd get a compiler error otherwise.
+ type_4_byte='long'
;;
dreamcast)
DEFINES="$DEFINES -D__DC__ -DNONSTANDARD_PORT"