aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2009-11-20 00:12:46 +0000
committerMax Horn2009-11-20 00:12:46 +0000
commit5c23e28a652ac45a56054f7251789cbe22fa3acc (patch)
treef996715c55443fc3d391dba9404c89c1f7b873f7
parenta50bb2ceb42cab37f3a7c7d9c43a30aa7b068b07 (diff)
downloadscummvm-rg350-5c23e28a652ac45a56054f7251789cbe22fa3acc.tar.gz
scummvm-rg350-5c23e28a652ac45a56054f7251789cbe22fa3acc.tar.bz2
scummvm-rg350-5c23e28a652ac45a56054f7251789cbe22fa3acc.zip
Several configure targets use long instead of int for typedefing uint32/int32. It is not clear why. In order to find out if this is needed I disabled the relevant code for each in configure. If this causes results for any port, we can add this back, along with a precise explanation as to *why* 'long' has to be used.
svn-id: r45997
-rwxr-xr-xconfigure10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure b/configure
index e2a5220fea..0194386526 100755
--- a/configure
+++ b/configure
@@ -1245,7 +1245,7 @@ case $_host_os in
CXXFLAGS="$CXXFLAGS -fhuge-objects"
LIBS="$LIBS -lbind -lsocket"
# FIXME: Please document why 'long' has to be used instead of int
- type_4_byte='long'
+ #type_4_byte='long'
;;
haiku*)
DEFINES="$DEFINES -DUNIX -DSYSTEM_NOT_SUPPORTING_D_TYPE"
@@ -1253,7 +1253,7 @@ case $_host_os in
LIBS="$LIBS -lnetwork"
CXXFLAGS="$CXXFLAGS -fhuge-objects"
# FIXME: Please document why 'long' has to be used instead of int
- type_4_byte='long'
+ #type_4_byte='long'
;;
solaris*)
DEFINES="$DEFINES -DUNIX -DSOLARIS -DSYSTEM_NOT_SUPPORTING_D_TYPE"
@@ -1288,7 +1288,7 @@ case $_host_os in
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'
+ #type_4_byte='long'
;;
dreamcast)
DEFINES="$DEFINES -D__DC__ -DNONSTANDARD_PORT"
@@ -1440,14 +1440,14 @@ if test -n "$_host"; then
_endian=big
_need_memalign=yes
# FIXME: Please document why 'long' has to be used instead of int
- type_4_byte='long'
+ #type_4_byte='long'
;;
m68k-atari-mint)
DEFINES="$DEFINES -DUNIX -DSYSTEM_NOT_SUPPORTING_D_TYPE"
_endian=big
_need_memalign=yes
# FIXME: Please document why 'long' has to be used instead of int
- type_4_byte='long'
+ #type_4_byte='long'
_ranlib=m68k-atari-mint-ranlib
_ar="m68k-atari-mint-ar cru"
;;