fs: Undefine CONFIG_FS_LARGEFILE if compiler doesn't support long long

to simplify the large file check in many place

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2023-02-25 16:02:11 +08:00
committed by Alin Jerpelea
parent d2d954f691
commit 92b2f1bd3d
17 changed files with 22 additions and 18 deletions
+1 -1
View File
@@ -63,7 +63,7 @@
* it. */
#endif
#if defined(CONFIG_FS_LARGEFILE) && defined(CONFIG_HAVE_LONG_LONG)
#if defined(CONFIG_FS_LARGEFILE)
# define ftw64 ftw
# define nftw64 nftw
#endif