Make RLIM_INFINITY usable without including <stdint.h>.
By using __uint64_t instead of uint64_t, this constant can also be used if <sys/resource.h> is included on its own.
This commit is contained in:
parent
0f2297b1bf
commit
ee7e05ea0f
@ -108,7 +108,7 @@ struct __wrusage {
|
||||
|
||||
#define RLIM_NLIMITS 15 /* number of resource limits */
|
||||
|
||||
#define RLIM_INFINITY ((rlim_t)(((uint64_t)1 << 63) - 1))
|
||||
#define RLIM_INFINITY ((rlim_t)(((__uint64_t)1 << 63) - 1))
|
||||
/* XXX Missing: RLIM_SAVED_MAX, RLIM_SAVED_CUR */
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user