aboutsummaryrefslogtreecommitdiffstats
path: root/include/ruby/win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby/win32.h')
-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)