summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-01 00:12:51 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-01 00:12:51 +0000
commit933e5e091106a83dd8f7c402e02703c183f644ee (patch)
tree0f901b10b83e3d8c0a7e689257f1dfe2ca8944d3 /include
parentc9a7829604854830c68c77662b7864b61afa57ce (diff)
* 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
Diffstat (limited to 'include')
-rw-r--r--include/ruby/win32.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ruby/win32.h b/include/ruby/win32.h
index b9299883bc..b72884affd 100644
--- a/include/ruby/win32.h
+++ b/include/ruby/win32.h
@@ -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)