From a8209ffcc7008fa59b0e72e619a184733e47394a Mon Sep 17 00:00:00 2001 From: wanabe Date: Fri, 30 Apr 2010 21:45:33 +0000 Subject: [PATCH] * win32/win32.c: add declaration of wstati64 for gcc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ win32/win32.c | 1 + 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index 19e62b2186..95ac72edb1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sat May 1 06:42:57 2010 wanabe + + * win32/win32.c: add declaration of wstati64 for gcc. + Sat May 1 02:41:33 2010 NAKAMURA Usaku * merge some patches from win32-uncode-test branch. diff --git a/win32/win32.c b/win32/win32.c index 6f27437c58..5b05510209 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -67,6 +67,7 @@ static struct ChildRecord *CreateChild(const char *, const char *, SECURITY_ATTR static int has_redirection(const char *); int rb_w32_wait_events(HANDLE *events, int num, DWORD timeout); static int rb_w32_open_osfhandle(intptr_t osfhandle, int flags); +static int wstati64(const WCHAR *path, struct stati64 *st); #define RUBY_CRITICAL(expr) do { expr; } while (0)