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