From 5411e14c57185b2b33fbfbb7ff7fec8ca2700551 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Fri, 5 Nov 2010 19:12:23 +0000 Subject: 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 --- lib/skin_parser/skin_buffer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/skin_parser') diff --git a/lib/skin_parser/skin_buffer.c b/lib/skin_parser/skin_buffer.c index 05a46658d4..0045b3c4c7 100644 --- a/lib/skin_parser/skin_buffer.c +++ b/lib/skin_parser/skin_buffer.c @@ -46,11 +46,11 @@ #ifdef ROCKBOX #include "config.h" -# if (CONFIG_PLATFORM&PLATFORM_HOSTED) +#ifdef APPLICATION # define USE_HOST_MALLOC -# else +#else # define USE_ROCKBOX_ALLOC -# endif +#endif #endif -- cgit v1.2.3