From 108dfdb9e04709648e582788ab469e90da3388fe Mon Sep 17 00:00:00 2001 From: des Date: Tue, 9 Nov 2004 00:55:23 +0000 Subject: [PATCH] Back out previous commit; INT64_MAX (defined in ) is not always visible when is included. --- sys/sys/resource.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sys/resource.h b/sys/sys/resource.h index f9e36ee184d3..60d7e21bf9ae 100644 --- a/sys/sys/resource.h +++ b/sys/sys/resource.h @@ -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 */