mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* include/ruby/win32.h: latest x86_64 mingw defines stati64.
[ruby-core:27516] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c9a7829604
commit
933e5e0911
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Sun Aug 1 09:12:50 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* include/ruby/win32.h: latest x86_64 mingw defines stati64.
|
||||
[ruby-core:27516]
|
||||
|
||||
Sun Aug 1 08:51:52 2010 Masaki Suketa <masaki.suketa@nifty.ne.jp>
|
||||
|
||||
* ext/win32ole/win32ole.c: fix typo. [ruby-core:31564][Bug #3636]
|
||||
|
|
|
@ -183,7 +183,9 @@ extern DWORD rb_w32_osid(void);
|
|||
#define stati64(path, st) rb_w32_stati64(path, st)
|
||||
#elif !defined(_MSC_VER) || RT_VER < 80
|
||||
#define stati64 _stati64
|
||||
#ifndef _stati64
|
||||
#define _stati64(path, st) rb_w32_stati64(path, st)
|
||||
#endif
|
||||
#else
|
||||
#define stati64 _stat64
|
||||
#define _stat64(path, st) rb_w32_stati64(path, st)
|
||||
|
|
Loading…
Reference in a new issue