diff options
| author | [email protected] <[email protected]> | 2012-12-29 12:29:03 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2012-12-29 12:29:03 +0000 |
| commit | 975610477e9b168858f90cc399d91eb962072f1d (patch) | |
| tree | b4b9dab47aea9f00c3b89291e030567331fee572 /src/mem.c | |
| parent | 7db8d2939bf9833587fcff84f040a8e4f9410e6f (diff) | |
Add RT_USING_MEMHEAP_AS_HEAP feature: system can use "heap" memheap as system default memory heap.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2554 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'src/mem.c')
| -rw-r--r-- | src/mem.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -52,6 +52,8 @@ #include <rthw.h> #include <rtthread.h> +#ifndef RT_USING_MEMHEAP_AS_HEAP + /* #define RT_MEM_DEBUG */ #define RT_MEM_STATS @@ -574,4 +576,6 @@ FINSH_FUNCTION_EXPORT(list_mem, list memory usage information) /*@}*/ -#endif +#endif /* end of RT_USING_HEAP */ +#endif /* end of RT_USING_MEMHEAP_AS_HEAP */ + |
