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
@@ -68,7 +68,7 @@
# define environ get_environ_ptr()
#endif
#if defined(CONFIG_FS_LARGEFILE) && defined(CONFIG_HAVE_LONG_LONG)
#if defined(CONFIG_FS_LARGEFILE)
# define mkstemp64 mkstemp
# define mkostemp64 mkostemp
# define mkstemps64 mkstemps