fs: Define __USE_FILE_OFFSET64 when CONFIG_FS_LARGEFILE is enabled

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2023-06-30 08:11:47 +08:00 committed by Alan Carvalho de Assis
parent 78a2c91a04
commit 5af99c65de

View File

@ -84,6 +84,7 @@
#define SCHED_PRIORITY_IDLE 0
#if defined(CONFIG_FS_LARGEFILE)
# define __USE_FILE_OFFSET64 1
# define fsblkcnt64_t fsblkcnt_t
# define fsfilcnt64_t fsfilcnt_t
# define blkcnt64_t blkcnt_t