aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorCeRiAl2011-10-18 13:10:20 +0200
committerCeRiAl2011-10-18 13:10:20 +0200
commita97cd0077fbe2df315a9356e38b39a5065b77c02 (patch)
tree9437da60a9203d3918c56848bcad265f06bb442f /configure
parent757c522dd1a9ed431e6621dabed776211651ff31 (diff)
downloadscummvm-rg350-a97cd0077fbe2df315a9356e38b39a5065b77c02.tar.gz
scummvm-rg350-a97cd0077fbe2df315a9356e38b39a5065b77c02.tar.bz2
scummvm-rg350-a97cd0077fbe2df315a9356e38b39a5065b77c02.zip
WINCE: Add workaround for memory management problem on Windows CE < 6.0
This fixes the "32MB memory limit per process" problem in Windows CE < 6.0
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index ede6dd350a..6fa45ba5ba 100755
--- a/configure
+++ b/configure
@@ -2066,9 +2066,11 @@ case $_host_os in
DEFINES="$DEFINES -DUNICODE"
DEFINES="$DEFINES -DFPM_DEFAULT"
DEFINES="$DEFINES -DNONSTANDARD_PORT"
+ DEFINES="$DEFINES -DWRAP_MALLOC"
DEFINES="$DEFINES -DWIN32"
DEFINES="$DEFINES -Dcdecl="
DEFINES="$DEFINES -D__cdecl__="
+ add_line_to_config_mk "WRAP_MALLOC = 1"
;;
esac