aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMax Horn2010-11-28 17:41:33 +0000
committerMax Horn2010-11-28 17:41:33 +0000
commitaa33b22d638c21e51814658c0b1034727a42ef4e (patch)
treeaf43a7b2fe9cc1dac0579971b5870e82c2336b16 /configure
parent1857076d76d8bde59bf6b47fe49c32ba6c462c10 (diff)
downloadscummvm-rg350-aa33b22d638c21e51814658c0b1034727a42ef4e.tar.gz
scummvm-rg350-aa33b22d638c21e51814658c0b1034727a42ef4e.tar.bz2
scummvm-rg350-aa33b22d638c21e51814658c0b1034727a42ef4e.zip
BUILD: Compilation fixes for Win32 and Amiga
svn-id: r54535
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index a3d42e2a59..c4e1bbd6dd 100755
--- a/configure
+++ b/configure
@@ -1464,6 +1464,7 @@ case $_host_os in
# 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'
+ add_line_to_config_mk 'AMIGAOS = 1'
;;
android)
CXXFLAGS="$CXXFLAGS -Os -msoft-float -mtune=xscale -march=armv5te -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5TE__"
@@ -1556,6 +1557,7 @@ case $_host_os in
DEFINES="$DEFINES -DWIN32 -D__USE_MINGW_ANSI_STDIO=0"
LIBS="$LIBS -lmingw32 -lwinmm"
OBJS="$OBJS scummvmico.o"
+ add_line_to_config_mk 'WIN32 = 1'
;;
mint*)
DEFINES="$DEFINES -DSYSTEM_NOT_SUPPORTING_D_TYPE"