diff options
author | yliu <yu.liu@ingenic.com> | 2025-07-21 15:51:14 +0800 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2025-08-10 19:27:56 +0200 |
commit | bf47b6f40a04ecf6e4daabe8e854bc295b29f0b7 (patch) | |
tree | fc86fbdf47a1044e07d7f72cd8282fabfc91ee48 /libc/sysdeps/linux/riscv32/bits/shm.h | |
parent | 133a547b54894dfe55611d9dc3d8ef273e753a46 (diff) |
time64: fixed msgctl/semctl/shmctl result errors for for MIPS32/RISCV32
Diffstat (limited to 'libc/sysdeps/linux/riscv32/bits/shm.h')
-rw-r--r-- | libc/sysdeps/linux/riscv32/bits/shm.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/riscv32/bits/shm.h b/libc/sysdeps/linux/riscv32/bits/shm.h index 8a11c7050..9190c562b 100644 --- a/libc/sysdeps/linux/riscv32/bits/shm.h +++ b/libc/sysdeps/linux/riscv32/bits/shm.h @@ -37,12 +37,18 @@ struct shmid_ds { struct ipc_perm shm_perm; /* operation permission struct */ size_t shm_segsz; /* size of segment in bytes */ +#if defined(__UCLIBC_USE_TIME64__) + __time_t shm_atime; + __time_t shm_dtime; + __time_t shm_ctime; +#else __time_t shm_atime; /* time of last shmat() */ unsigned long int __uclibc_unused1; __time_t shm_dtime; /* time of last shmdt() */ unsigned long int __uclibc_unused2; __time_t shm_ctime; /* time of last change by shmctl() */ unsigned long int __uclibc_unused3; +#endif __pid_t shm_cpid; /* pid of creator */ __pid_t shm_lpid; /* pid of last shmop */ shmatt_t shm_nattch; /* number of current attaches */ |