1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

* sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,

RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
This commit is contained in:
David S. Miller
2011-08-14 04:07:50 -07:00
parent 73d7af4f4c
commit 9c96ff2385
2 changed files with 7 additions and 2 deletions

View File

@ -130,11 +130,11 @@ enum __rlimit_resource
#ifndef __USE_FILE_OFFSET64
# define RLIM_INFINITY ((long int)(~0UL >> 1))
#else
# define RLIM_INFINITY 0x7fffffffffffffffLL
# define RLIM_INFINITY 0xffffffffffffffffLL
#endif
#ifdef __USE_LARGEFILE64
# define RLIM64_INFINITY 0x7fffffffffffffffLL
# define RLIM64_INFINITY 0xffffffffffffffffLL
#endif
#endif