summaryrefslogtreecommitdiff
path: root/win32/win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'win32/win32.c')
-rw-r--r--win32/win32.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/win32/win32.c b/win32/win32.c
index 2e92665275..f87cf8b696 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -4318,7 +4318,7 @@ rb_chsize(HANDLE h, off_t size)
}
int
-truncate(const char *path, off_t length)
+rb_w32_truncate(const char *path, off_t length)
{
HANDLE h;
int ret;
@@ -4344,7 +4344,7 @@ truncate(const char *path, off_t length)
}
int
-ftruncate(int fd, off_t length)
+rb_w32_ftruncate(int fd, off_t length)
{
HANDLE h;
@@ -4417,7 +4417,7 @@ fseeko(FILE *stream, off_t offset, int whence)
}
off_t
-ftello(FILE *stream)
+rb_w32_ftello(FILE *stream)
{
off_t pos;
if (fgetpos(stream, (fpos_t *)&pos)) return (off_t)-1;