summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-11 16:06:41 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-11 16:06:41 +0000
commitf623428d1a82409382548a37b5e63ea69b47aef9 (patch)
treebdb92581d39b1f77d41c8caf24098cc722b06ebc /include
parenta9aad1f80c846f5db933ecbde00d16f6ee555a71 (diff)
undef previous definition of `SIZEOF_STRUCT_STAT_ST_INO`
trying to solve build problem of MinGW. see [Bug #14165] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r--include/ruby/win32.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ruby/win32.h b/include/ruby/win32.h
index 6db757b6e3..fe1978fdde 100644
--- a/include/ruby/win32.h
+++ b/include/ruby/win32.h
@@ -194,6 +194,7 @@ struct stati128 {
#if SIZEOF_OFF_T == 8
#define off_t __int64
#define stat stati128
+#undef SIZEOF_STRUCT_STAT_ST_INO
#define SIZEOF_STRUCT_STAT_ST_INO sizeof(unsigned __int64)
#define HAVE_STRUCT_STAT_ST_INOHIGH
#define HAVE_STRUCT_STAT_ST_ATIMENSEC