Skip to content

Commit

Permalink
* win32/win32.c (fstat): declare for mingw.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
unak committed Nov 17, 2015
1 parent 551ae37 commit 508addd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Tue Nov 17 19:50:06 2015 NAKAMURA Usaku <usa@ruby-lang.org>

* win32/win32.c (fstat): declare for mingw.

Tue Nov 17 19:32:42 2015 Koichi Sasada <ko1@atdot.net>

* method.h (METHOD_ENTRY_COMPLEMENTED(_SET)): introduced to recognize
Expand Down
3 changes: 2 additions & 1 deletion win32/win32.c
Original file line number Diff line number Diff line change
Expand Up @@ -5164,7 +5164,7 @@ static DWORD stati64_handle(HANDLE h, struct stati64 *st);

/* License: Ruby's */
static void
stati64_set_inode(PBY_HANDLE_FILE_INFORMATION pinfo, struct stati64 *st)
stati64_set_inode(BY_HANDLE_FILE_INFORMATION *pinfo, struct stati64 *st)
{
/* struct stati64 layout
*
Expand Down Expand Up @@ -5205,6 +5205,7 @@ stati64_set_inode_handle(HANDLE h, struct stati64 *st)
}

#undef fstat
extern int fstat(int, struct stat *);
/* License: Ruby's */
int
rb_w32_fstat(int fd, struct stat *st)
Expand Down

0 comments on commit 508addd

Please sign in to comment.