Define RLIM64_INFINITY only if not defined
* resource.c (RLIM64_INFINITY): Define only if it isn't defined.
This commit is contained in:
parent
0b315b6543
commit
d602542f16
@ -49,7 +49,9 @@
|
||||
|
||||
#define rlimit64 rlimit /* Ugly hack */
|
||||
#define rlim64_t rlim_t /* Ugly hack */
|
||||
#ifndef RLIM64_INFINITY
|
||||
#define RLIM64_INFINITY RLIM_INFINITY /* You guessed it */
|
||||
#endif
|
||||
|
||||
#define sys_getrlimit64 sys_getrlimit
|
||||
#define sys_setrlimit64 sys_setrlimit
|
||||
|
Loading…
Reference in New Issue
Block a user