diff --git a/include/nuttx/lib/lib.h b/include/nuttx/lib/lib.h index 92c2436988a4d..c6d7e7ada8dc0 100644 --- a/include/nuttx/lib/lib.h +++ b/include/nuttx/lib/lib.h @@ -45,7 +45,7 @@ * then only the first mode is supported. */ -#if !defined(CONFIG_BUILD_FLAT) && defined(__KERNEL__) +#if defined(__KERNEL__) /* Domain-specific allocations */