summaryrefslogtreecommitdiff
path: root/include/ruby/win32.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-01-30 08:08:23 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-01-30 08:08:23 +0000
commit111b86142280d3257021d142fce1317b44c1b850 (patch)
treedcb1b119d8a4b7b997f0830d3aa8887efd4a380c /include/ruby/win32.h
parente16b8482c724f89bbf599185d2592f134bac8b45 (diff)
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
Diffstat (limited to 'include/ruby/win32.h')
-rw-r--r--include/ruby/win32.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/win32.h b/include/ruby/win32.h
index 9645cc8..a2eec0c 100644
--- a/include/ruby/win32.h
+++ b/include/ruby/win32.h
@@ -177,7 +177,7 @@ typedef unsigned int uintptr_t;
#if SIZEOF_OFF_T == 8
#define off_t __int64
#define stat stati64
-#define fstat(fd,st) _fstati64(fd,st)
+#define fstat(fd,st) fstati64(fd,st)
#if defined(__BORLANDC__)
#define stati64(path, st) rb_w32_stati64(path, st)
#elif !defined(_MSC_VER) || RT_VER < 80