diff options
author | wanabe <wanabe@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-30 21:45:33 +0000 |
---|---|---|
committer | wanabe <wanabe@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-30 21:45:33 +0000 |
commit | a8209ffcc7008fa59b0e72e619a184733e47394a (patch) | |
tree | 666fd98010bad460e6e29e6161f32428132231f3 | |
parent | 6c28f99d8894b9f9a3c1394d120115f69012f2c3 (diff) |
* 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
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | win32/win32.c | 1 |
2 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,7 @@ +Sat May 1 06:42:57 2010 wanabe <s.wanabe@gmail.com> + + * win32/win32.c: add declaration of wstati64 for gcc. + Sat May 1 02:41:33 2010 NAKAMURA Usaku <usa@ruby-lang.org> * 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) |