mirror of
git://git.musl-libc.org/musl
synced 2025-03-06 20:48:29 +01:00
add missing legacy LFS64 macros in sys/resource.h
based on patch by Felix Janda, with RLIM64_SAVED_CUR and RLIM64_SAVED_MAX added for completeness.
This commit is contained in:
parent
fc431d3f76
commit
b6e7c66467
1 changed files with 3 additions and 0 deletions
|
@ -96,6 +96,9 @@ int prlimit(pid_t, int, const struct rlimit *, struct rlimit *);
|
|||
#define RLIM_NLIMITS RLIMIT_NLIMITS
|
||||
|
||||
#if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
|
||||
#define RLIM64_INFINITY RLIM_INFINITY
|
||||
#define RLIM64_SAVED_CUR RLIM_SAVED_CUR
|
||||
#define RLIM64_SAVED_MAX RLIM_SAVED_MAX
|
||||
#define getrlimit64 getrlimit
|
||||
#define setrlimit64 setrlimit
|
||||
#define rlimit64 rlimit
|
||||
|
|
Loading…
Add table
Reference in a new issue