From f623428d1a82409382548a37b5e63ea69b47aef9 Mon Sep 17 00:00:00 2001 From: usa Date: Mon, 11 Dec 2017 16:06:41 +0000 Subject: [PATCH] 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 --- include/ruby/win32.h | 1 + 1 file changed, 1 insertion(+) 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