From 770817ba2f1f418e28d13cb00a1dc7acef79050b Mon Sep 17 00:00:00 2001 From: XinStellaris Date: Tue, 18 Apr 2023 14:59:19 +0800 Subject: [PATCH] fs/littlefs:littlefs shouldn't be used without C99 BOOL Signed-off-by: XinStellaris --- fs/littlefs/lfs_vfs.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/fs/littlefs/lfs_vfs.c b/fs/littlefs/lfs_vfs.c index 073834eb2c..c00174d171 100644 --- a/fs/littlefs/lfs_vfs.c +++ b/fs/littlefs/lfs_vfs.c @@ -39,6 +39,14 @@ #include "littlefs/lfs.h" #include "littlefs/lfs_util.h" +/**************************************************************************** + * Pre-processor Definitions + ****************************************************************************/ + +#ifndef CONFIG_C99_BOOL +# error littlefs requires CONFIG_C99_BOOL to be selected +#endif + /**************************************************************************** * Private Types ****************************************************************************/