Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2003-03-07 23:41:49 +0300
committerCorinna Vinschen <corinna@vinschen.de>2003-03-07 23:41:49 +0300
commit5582abd2c78a738bc9559c8807acbe62d4e07f48 (patch)
treec2394d35badffe5f76f20044c0afa9e03bd0bf7a /newlib/libc/reent
parent6f8102cb71a334f84127e14929855cebf9680c02 (diff)
* configure.host: Define stdio64_dir for Cygwin.
* libc/include/stdio.h: Change definition of fpos_t to fulfill Cygwin 64bit file access requirements. Drop definition of f*64() functions when compiled for Cygwin. * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin. * libc/reent/lseek64r.c: Use _off64_t instead of off64_t. * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
Diffstat (limited to 'newlib/libc/reent')
-rw-r--r--newlib/libc/reent/lseek64r.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/newlib/libc/reent/lseek64r.c b/newlib/libc/reent/lseek64r.c
index 886734be8..342cae2eb 100644
--- a/newlib/libc/reent/lseek64r.c
+++ b/newlib/libc/reent/lseek64r.c
@@ -48,17 +48,17 @@ DESCRIPTION
with large file support.
*/
-off64_t
+_off64_t
_lseek64_r (ptr, fd, pos, whence)
struct _reent *ptr;
int fd;
- off64_t pos;
+ _off64_t pos;
int whence;
{
- off64_t ret;
+ _off64_t ret;
errno = 0;
- if ((ret = _lseek64 (fd, pos, whence)) == (off64_t) -1 && errno != 0)
+ if ((ret = _lseek64 (fd, pos, whence)) == (_off64_t) -1 && errno != 0)
ptr->_errno = errno;
return ret;
}