Merge "riscv64's struct stat is the same as arm64's."
This commit is contained in:
commit
5394de7b05
|
@ -40,7 +40,7 @@
|
|||
|
||||
__BEGIN_DECLS
|
||||
|
||||
#if defined(__aarch64__)
|
||||
#if defined(__aarch64__) || defined(__riscv)
|
||||
#define __STAT64_BODY \
|
||||
dev_t st_dev; \
|
||||
ino_t st_ino; \
|
||||
|
|
|
@ -69,7 +69,7 @@ static void sys_stat_h() {
|
|||
STRUCT_MEMBER(struct stat, struct timespec, st_mtim);
|
||||
STRUCT_MEMBER(struct stat, struct timespec, st_ctim);
|
||||
#if defined(__BIONIC__)
|
||||
#if defined(__aarch64__)
|
||||
#if defined(__aarch64__) || defined(__riscv)
|
||||
STRUCT_MEMBER(struct stat, int, st_blksize);
|
||||
#elif defined(__x86_64__)
|
||||
STRUCT_MEMBER(struct stat, long, st_blksize);
|
||||
|
|
Loading…
Reference in New Issue