summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ruby/win32.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ruby/win32.h b/include/ruby/win32.h
index cd7353580f..8ea3f3b1c4 100644
--- a/include/ruby/win32.h
+++ b/include/ruby/win32.h
@@ -359,6 +359,7 @@ scalb(double a, long b)
//
#define SUFFIX
+#define ftruncate rb_w32_ftruncate
extern int truncate(const char *path, off_t length);
extern int ftruncate(int fd, off_t length);
extern int fseeko(FILE *stream, off_t offset, int whence);