diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/win32.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/ruby/win32.h b/include/ruby/win32.h index 47f68b8cb2..68b8db73e6 100644 --- a/include/ruby/win32.h +++ b/include/ruby/win32.h @@ -403,8 +403,9 @@ __declspec(dllimport) extern int finite(double); #define SUFFIX -extern int rb_w32_ftruncate(int fd, off_t length); -extern int rb_w32_truncate(const char *path, off_t length); +extern int rb_w32_ftruncate(int fd, off_t length); +extern int rb_w32_truncate(const char *path, off_t length); +extern int rb_w32_utruncate(const char *path, off_t length); #undef HAVE_FTRUNCATE #define HAVE_FTRUNCATE 1 |