fix #if condition of g_mmheap for BUILD_KERNEL.

This commit is contained in:
Oki Minabe 2022-02-19 18:09:18 +09:00 committed by Xiang Xiao
parent 682984e9ba
commit 484eb1795b
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@
* Public Data
****************************************************************************/
#if defined(CONFIG_ARCH_ADDRENV) && defined(__KERNEL__)
#if defined(CONFIG_ARCH_ADDRENV) && defined(CONFIG_BUILD_KERNEL)
/* In the kernel build, there a multiple user heaps; one for each task
* group. In this build configuration, the user heap structure lies
* in a reserved region at the beginning of the .bss/.data address