mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-22 08:14:06 +00:00
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
fdc3c6ce23
commit
ec22649243
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=137422
|
@ -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 a new issue