mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
mm/umm_heap: sbrk() is only available in the KERNEL build.
This commit is contained in:
@@ -67,7 +67,7 @@
|
||||
|
||||
FAR void *realloc(FAR void *oldmem, size_t size)
|
||||
{
|
||||
#ifdef CONFIG_ARCH_ADDRENV
|
||||
#if defined(CONFIG_ARCH_ADDRENV) && defined(CONFIG_BUILD_KERNEL)
|
||||
FAR void *brkaddr;
|
||||
FAR void *mem;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user