[Scummvm-cvs-logs] SF.net SVN: scummvm:[46106] scummvm/trunk/configure

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Mon Nov 23 23:29:02 CET 2009


Revision: 46106
          http://scummvm.svn.sourceforge.net/scummvm/?rev=46106&view=rev
Author:   fingolfin
Date:     2009-11-23 22:29:02 +0000 (Mon, 23 Nov 2009)

Log Message:
-----------
Fix bug #2901669: AMIGAOS4: Compiler error

Modified Paths:
--------------
    scummvm/trunk/configure

Modified: scummvm/trunk/configure
===================================================================
--- scummvm/trunk/configure	2009-11-23 22:28:44 UTC (rev 46105)
+++ scummvm/trunk/configure	2009-11-23 22:29:02 UTC (rev 46106)
@@ -1287,8 +1287,9 @@
 	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"


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list