mirror of
https://github.com/fluencelabs/musl
synced 2025-04-24 14:52:13 +00:00
fix macros for LFS *64_t types in sys/stat.h, sys/types.h, glob.h
there is no blksize64_t (blksize_t is always long) but there are fsblkcnt64_t and fsfilcnt64_t types in sys/stat.h and sys/types.h. and glob.h missed glob64_t.
This commit is contained in:
parent
36c30c4ddd
commit
7ff804269b
@ -39,6 +39,7 @@ void globfree(glob_t *);
|
||||
#if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
|
||||
#define glob64 glob
|
||||
#define globfree64 globfree
|
||||
#define glob64_t glob_t
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -100,8 +100,9 @@ int lchmod(const char *, mode_t);
|
||||
#define fstat64 fstat
|
||||
#define lstat64 lstat
|
||||
#define fstatat64 fstatat
|
||||
#define blksize64_t blksize_t
|
||||
#define blkcnt64_t blkcnt_t
|
||||
#define fsblkcnt64_t fsblkcnt_t
|
||||
#define fsfilcnt64_t fsfilcnt_t
|
||||
#define ino64_t ino_t
|
||||
#define off64_t off_t
|
||||
#endif
|
||||
|
@ -73,7 +73,6 @@ typedef unsigned long long u_quad_t;
|
||||
#endif
|
||||
|
||||
#if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
|
||||
#define blksize64_t blksize_t
|
||||
#define blkcnt64_t blkcnt_t
|
||||
#define fsblkcnt64_t fsblkcnt_t
|
||||
#define fsfilcnt64_t fsfilcnt_t
|
||||
|
Loading…
x
Reference in New Issue
Block a user