summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-17 10:50:28 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-17 10:50:28 +0000
commit508addd7e06fac19fe36fee957b31035e72097db (patch)
tree3668e0333cf2691f4a4c503c28592bf7f1a1c4aa
parent551ae37ba3307fb982272413a02b3b94561bf39b (diff)
* win32/win32.c (fstat): declare for mingw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--win32/win32.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 425beaac69..0f5a5c73c7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/win32/win32.c b/win32/win32.c
index f900bfd81e..953c916c93 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -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
*
@@ -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)