summaryrefslogtreecommitdiffstats
path: root/winsup/mingw/mingwex/stdio/lseek64.c
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/mingw/mingwex/stdio/lseek64.c')
-rwxr-xr-xwinsup/mingw/mingwex/stdio/lseek64.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/winsup/mingw/mingwex/stdio/lseek64.c b/winsup/mingw/mingwex/stdio/lseek64.c
new file mode 100755
index 000000000..8f8bfa5e4
--- /dev/null
+++ b/winsup/mingw/mingwex/stdio/lseek64.c
@@ -0,0 +1,8 @@
+#include <io.h>
+
+off64_t lseek64
+(int fd, off64_t offset, int whence)
+{
+ return _lseeki64(fd, (__int64) offset, whence);
+}
+