diff options
author | CeRiAl | 2011-10-18 13:10:20 +0200 |
---|---|---|
committer | CeRiAl | 2011-10-18 13:10:20 +0200 |
commit | a97cd0077fbe2df315a9356e38b39a5065b77c02 (patch) | |
tree | 9437da60a9203d3918c56848bcad265f06bb442f /backends/platform/wince/wince.mk | |
parent | 757c522dd1a9ed431e6621dabed776211651ff31 (diff) | |
download | scummvm-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 'backends/platform/wince/wince.mk')
-rw-r--r-- | backends/platform/wince/wince.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/platform/wince/wince.mk b/backends/platform/wince/wince.mk index cac3ad4e8f..c5f3274747 100644 --- a/backends/platform/wince/wince.mk +++ b/backends/platform/wince/wince.mk @@ -1,3 +1,7 @@ +ifdef WRAP_MALLOC + LDFLAGS += -Wl,--wrap,malloc -Wl,--wrap,free +endif + backends/platform/wince/PocketSCUMM.o: $(srcdir)/backends/platform/wince/PocketSCUMM.rc $(QUIET)$(MKDIR) $(*D) $(WINDRES) $(WINDRESFLAGS) -I$(srcdir)/backends/platform/wince $< $@ |