diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2002-07-19 23:21:43 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2002-07-19 23:21:43 +0000 |
commit | c119e0ab7ad26043906eae35460c15103c7bcf70 (patch) | |
tree | f02b5e4dbab477586714e964c190f8246328261d /newlib/libc/include | |
parent | 9b022d6db80564cfc10c7f18e5d05cedb32f6375 (diff) | |
download | newlib-c119e0ab7ad26043906eae35460c15103c7bcf70.zip newlib-c119e0ab7ad26043906eae35460c15103c7bcf70.tar.gz newlib-c119e0ab7ad26043906eae35460c15103c7bcf70.tar.bz2 |
2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/config.h[__i386__][__linux__]: Define
_LARGE64FILE_SOURCE to 1.
* libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
* libc/sys/linux/Makefile.in: Regenerated.
* libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
* libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
* libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
of <linux/resource.h>.
* libc/sys/linux/getrlimit64.c: New file.
* libc/sys/linux/setrlimit64.c: Ditto.
Diffstat (limited to 'newlib/libc/include')
-rw-r--r-- | newlib/libc/include/sys/config.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/libc/include/sys/config.h b/newlib/libc/include/sys/config.h index e49238d..883993f 100644 --- a/newlib/libc/include/sys/config.h +++ b/newlib/libc/include/sys/config.h @@ -49,6 +49,8 @@ #define _HAVE_SYSTYPES #define _READ_WRITE_RETURN_TYPE _ssize_t #define __LARGE64_FILES 1 +/* we use some glibc header files so turn on glibc large file feature */ +#define _LARGEFILE64_SOURCE 1 #endif #endif |