hurd: Fix RLIM_INFINITY on 64b

rlim_t is 64b on 64b systems, so we should extend RLIM_INFINITY to that,
not only RLIM64_INFINITY or requiring 64b offsets.

This is similar to Linux headers.
This commit is contained in:
Samuel Thibault 2025-09-22 02:28:14 +02:00
parent 81a6e97791
commit b7e0ec907b
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ enum __rlimit_resource
/* Value to indicate that there is no limit. */
#ifndef __USE_FILE_OFFSET64
# define RLIM_INFINITY 0x7fffffff
# define RLIM_INFINITY ((__rlim_t) -1)
#else
# define RLIM_INFINITY 0x7fffffffffffffffLL
#endif