diff options
author | Rich Felker <dalias@aerifal.cx> | 2019-07-31 01:17:53 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2019-08-02 00:08:23 -0400 |
commit | 3c02bacf0f6bed54979e67d22c43745df9add4a0 (patch) | |
tree | 79cefd0e7a63642d08972c5f6d69eeaf12c435d2 /include/sys/ipc.h | |
parent | 72f50245d018af0c31b38dec83c557a4e5dd1ea8 (diff) | |
download | musl-3c02bacf0f6bed54979e67d22c43745df9add4a0.tar.gz musl-3c02bacf0f6bed54979e67d22c43745df9add4a0.tar.bz2 musl-3c02bacf0f6bed54979e67d22c43745df9add4a0.tar.xz musl-3c02bacf0f6bed54979e67d22c43745df9add4a0.zip |
allow archs to define IPC_STAT, propagate time64 bit to other macros
to make use of {sem,shm,msg}ctl IPC_STAT functionality to provide
64-bit time_t on 32-bit archs, IPC_STAT and related macros must be
defined with bit 8 (0x100) set. allow archs to define IPC_STAT in
bits/ipc.h, and define the other macros in terms of it so that they
all get the same value of the time64 bit.
Diffstat (limited to 'include/sys/ipc.h')
-rw-r--r-- | include/sys/ipc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sys/ipc.h b/include/sys/ipc.h index c5a39819..cde376fc 100644 --- a/include/sys/ipc.h +++ b/include/sys/ipc.h @@ -29,7 +29,9 @@ extern "C" { #define IPC_RMID 0 #define IPC_SET 1 +#ifndef IPC_STAT #define IPC_STAT 2 +#endif #define IPC_INFO 3 #define IPC_PRIVATE ((key_t) 0) |