Back out previous commit; INT64_MAX (defined in <stdint.h>) is not always
visible when <sys/resource.h> is included.
This commit is contained in:
parent
ab05b26be9
commit
108dfdb9e0
@ -98,7 +98,7 @@ struct rusage {
|
||||
|
||||
#define RLIM_NLIMITS 11 /* number of resource limits */
|
||||
|
||||
#define RLIM_INFINITY ((rlim_t)INT64_MAX)
|
||||
#define RLIM_INFINITY ((rlim_t)(((int64_t)1 << 63) - 1))
|
||||
/* XXX Missing: RLIM_SAVED_MAX, RLIM_SAVED_CUR */
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user