From b343a42e8cd755df943f2f77493db15fcfddfbe0 Mon Sep 17 00:00:00 2001 From: Petro Karashchenko Date: Wed, 15 Jun 2022 17:50:26 +0200 Subject: [PATCH] nuttx/lib: remove dependency on BUILD_FLAT for library memory allocation interface Signed-off-by: Petro Karashchenko --- include/nuttx/lib/lib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/nuttx/lib/lib.h b/include/nuttx/lib/lib.h index 95ed98c8aa..6b5d025a1a 100644 --- a/include/nuttx/lib/lib.h +++ b/include/nuttx/lib/lib.h @@ -41,7 +41,7 @@ * then only the first mode is supported. */ -#if !defined(CONFIG_BUILD_FLAT) && defined(__KERNEL__) +#if defined(__KERNEL__) /* Domain-specific allocations */