You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ac...@apache.org on 2022/06/15 19:58:39 UTC

[incubator-nuttx] branch master updated: nuttx/lib: remove dependency on BUILD_FLAT for library memory allocation interface

This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new b343a42e8c nuttx/lib: remove dependency on BUILD_FLAT for library memory allocation interface
b343a42e8c is described below

commit b343a42e8cd755df943f2f77493db15fcfddfbe0
Author: Petro Karashchenko <pe...@gmail.com>
AuthorDate: Wed Jun 15 17:50:26 2022 +0200

    nuttx/lib: remove dependency on BUILD_FLAT for library memory allocation interface
    
    Signed-off-by: Petro Karashchenko <pe...@gmail.com>
---
 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 */