summaryrefslogtreecommitdiff
path: root/src/include/stdlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/stdlib.h')
-rw-r--r--src/include/stdlib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/stdlib.h b/src/include/stdlib.h
index 63a316f186..8742fdfe85 100644
--- a/src/include/stdlib.h
+++ b/src/include/stdlib.h
@@ -11,7 +11,7 @@
#define MIN(a,b) ((a) < (b) ? (a) : (b))
#define MAX(a,b) ((a) > (b) ? (a) : (b))
-#ifndef __ROMCC__
+#if !defined( __ROMCC__ ) && !defined(__PRE_RAM__)
void *malloc(size_t size);
void free(void *ptr);
#endif