forked from len0rd/rockbox
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
This commit is contained in:
parent
d98f2929e9
commit
5411e14c57
4 changed files with 18 additions and 18 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue