diff --git a/include/nuttx/lib/lib.h b/include/nuttx/lib/lib.h index 95ed98c8aaf..6b5d025a1ae 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 */