ruby-changes:49000
From: usa <ko1@a...>
Date: Tue, 12 Dec 2017 01:06:47 +0900 (JST)
Subject: [ruby-changes:49000] usa:r61119 (trunk): undef previous definition of `SIZEOF_STRUCT_STAT_ST_INO`
usa 2017-12-12 01:06:41 +0900 (Tue, 12 Dec 2017) New Revision: 61119 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61119 Log: undef previous definition of `SIZEOF_STRUCT_STAT_ST_INO` trying to solve build problem of MinGW. see [Bug #14165] Modified files: trunk/include/ruby/win32.h Index: include/ruby/win32.h =================================================================== --- include/ruby/win32.h (revision 61118) +++ include/ruby/win32.h (revision 61119) @@ -194,6 +194,7 @@ struct stati128 { https://github.com/ruby/ruby/blob/trunk/include/ruby/win32.h#L194 #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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/