diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-04-14 12:21:04 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-04-14 12:21:04 +0000 |
commit | f777225e09bcee89197f3a69739103f230881e27 (patch) | |
tree | e821a96f03cd17a2ed3f8d2b2e6471bc6c3a58fe /include | |
parent | b8bcb6474c14cbe6ec3d9b8de34e8acec627370a (diff) | |
download | ruby-f777225e09bcee89197f3a69739103f230881e27.tar.gz |
* include/ruby/win32.h (ftruncate, truncate): mingw64 misses
prototypes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/win32.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ruby/win32.h b/include/ruby/win32.h index f9dadb222e..cafd7de85f 100644 --- a/include/ruby/win32.h +++ b/include/ruby/win32.h @@ -384,13 +384,13 @@ scalb(double a, long b) #if !defined HAVE_FTRUNCATE || defined(_MSC_VER) #define ftruncate rb_w32_ftruncate -extern int rb_w32_ftruncate(int fd, off_t length); #endif +extern int ftruncate(int fd, off_t length); #if !defined HAVE_TRUNCATE || defined(_MSC_VER) #define truncate rb_w32_truncate -extern int rb_w32_truncate(const char *path, off_t length); #endif +extern int truncate(const char *path, off_t length); extern int fseeko(FILE *stream, off_t offset, int whence); |