mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
win32.h: revert r37337
* include/ruby/win32.h (fstat): revert r37337, which uses _fstati64() instead of fstati64() on mingw32. [Bug #7276] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e16b8482c7
commit
111b861422
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Wed Jan 30 17:08:20 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* include/ruby/win32.h (fstat): revert r37337, which uses _fstati64()
|
||||||
|
instead of fstati64() on mingw32. [Bug #7276]
|
||||||
|
|
||||||
Wed Jan 30 15:26:37 2013 Shugo Maeda <shugo@ruby-lang.org>
|
Wed Jan 30 15:26:37 2013 Shugo Maeda <shugo@ruby-lang.org>
|
||||||
|
|
||||||
* ext/socket/unixsocket.c (rsock_init_unixsock): use rb_inspect()
|
* ext/socket/unixsocket.c (rsock_init_unixsock): use rb_inspect()
|
||||||
|
|
|
@ -177,7 +177,7 @@ typedef unsigned int uintptr_t;
|
||||||
#if SIZEOF_OFF_T == 8
|
#if SIZEOF_OFF_T == 8
|
||||||
#define off_t __int64
|
#define off_t __int64
|
||||||
#define stat stati64
|
#define stat stati64
|
||||||
#define fstat(fd,st) _fstati64(fd,st)
|
#define fstat(fd,st) fstati64(fd,st)
|
||||||
#if defined(__BORLANDC__)
|
#if defined(__BORLANDC__)
|
||||||
#define stati64(path, st) rb_w32_stati64(path, st)
|
#define stati64(path, st) rb_w32_stati64(path, st)
|
||||||
#elif !defined(_MSC_VER) || RT_VER < 80
|
#elif !defined(_MSC_VER) || RT_VER < 80
|
||||||
|
|
Loading…
Reference in a new issue