mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
fs: Change off_t and related types to int64_t if long long is supported
since it is very popular that the storage capcacity is large than 4GB even in the embedded system: https://www.opengroup.org/platform/lfs.html https://en.wikipedia.org/wiki/Large-file_support Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> Change-Id: I019dc08aff02f9ea01eb6d750033bbc358994da5
This commit is contained in:
committed by
David Sidrane
parent
238a96e7de
commit
319474b1b1
@@ -63,6 +63,11 @@
|
||||
* it. */
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_FS_LARGEFILE) && defined(CONFIG_HAVE_LONG_LONG)
|
||||
# define ftw64 ftw
|
||||
# define nftw64 nftw
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Public Types
|
||||
****************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user