mirror of
https://github.com/ruby/ruby.git
synced 2025-09-17 01:23:57 +02:00
* include/ruby/win32.h (ftruncate): rename to get rid of conflict
with same name but non-LFS function on MinGW. [ruby-core:24757] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1edc8d3b9e
commit
021e7b7f20
2 changed files with 6 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue