diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/stdlib.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/stdlib.h b/src/include/stdlib.h index 8bae40f2e1..1fa8e24d18 100644 --- a/src/include/stdlib.h +++ b/src/include/stdlib.h @@ -5,6 +5,7 @@ #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) +#ifndef __ROMCC__ extern void *malloc(size_t size); void free(void *ptr); @@ -12,5 +13,6 @@ void free(void *ptr); typedef size_t malloc_mark_t; void malloc_mark(malloc_mark_t *place); void malloc_release(malloc_mark_t *place); +#endif #endif /* STDLIB_H */ |