mirror of
https://github.com/apache/nuttx.git
synced 2026-05-29 20:56:47 +08:00
fs: Define __USE_FILE_OFFSET64 when CONFIG_FS_LARGEFILE is enabled
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
78a2c91a04
commit
5af99c65de
@@ -84,6 +84,7 @@
|
|||||||
#define SCHED_PRIORITY_IDLE 0
|
#define SCHED_PRIORITY_IDLE 0
|
||||||
|
|
||||||
#if defined(CONFIG_FS_LARGEFILE)
|
#if defined(CONFIG_FS_LARGEFILE)
|
||||||
|
# define __USE_FILE_OFFSET64 1
|
||||||
# define fsblkcnt64_t fsblkcnt_t
|
# define fsblkcnt64_t fsblkcnt_t
|
||||||
# define fsfilcnt64_t fsfilcnt_t
|
# define fsfilcnt64_t fsfilcnt_t
|
||||||
# define blkcnt64_t blkcnt_t
|
# define blkcnt64_t blkcnt_t
|
||||||
|
|||||||
Reference in New Issue
Block a user