summaryrefslogtreecommitdiff
path: root/gl/lseek.c
diff options
context:
space:
mode:
Diffstat (limited to 'gl/lseek.c')
-rw-r--r--gl/lseek.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gl/lseek.c b/gl/lseek.c
index cd7e2d6..794c230 100644
--- a/gl/lseek.c
+++ b/gl/lseek.c
@@ -59,5 +59,9 @@ rpl_lseek (int fd, off_t offset, int whence)
return -1;
}
#endif
+#if _GL_WINDOWS_64_BIT_OFF_T
+ return _lseeki64 (fd, offset, whence);
+#else
return lseek (fd, offset, whence);
+#endif
}