Undo the part of r28480 that caused the simulator to also use host malloc.
commit54f5bcef2f9cb758c031b01c8021619c7f6d9ec5
authorkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Fri, 5 Nov 2010 19:12:23 +0000 (5 19:12 +0000)
committerkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Fri, 5 Nov 2010 19:12:23 +0000 (5 19:12 +0000)
tree41149a1100c3ba708e0065cd7409c2e14ac976b2
parent4abe87767e0e7220ef15450a684dc2ebe8eed2b5
Undo the part of r28480 that caused the simulator to also use host malloc.

We want simulators to simulate target code where possible, that includes memory constraints and memory allocation schemes. It also removed the sim's ability to show the theme's ram usage.
Use malloc only in application builds.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28498 a1c6a512-1295-4272-9138-f99709370657
apps/gui/skin_engine/skin_engine.c
apps/gui/skin_engine/skin_parser.c
apps/menus/main_menu.c
lib/skin_parser/skin_buffer.c