summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-04-23 02:47:07 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-04-23 02:47:07 +0000
commit6f477bcc0e319ae53d5d412beeded33f9a420990 (patch)
tree363e186a05cb440b979ed16c977ffc743ff4553f
parentd4c6c4c8c86b828ab941c8ac29fe6894210c5b9f (diff)
* configure.in, win32/Makefile.sub: fsid_t is defined in include/ruby/win32.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--configure.in3
-rw-r--r--win32/Makefile.sub1
2 files changed, 3 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 03d6596db4..410b86b634 100644
--- a/configure.in
+++ b/configure.in
@@ -1059,8 +1059,9 @@ main()
ac_cv_func_clock_gettime=yes
ac_cv_func_clock_getres=yes
ac_cv_func_malloc_usable_size=no
- ac_cv_struct_statfs=yes
+ ac_cv_type_struct_statfs=yes
ac_cv_member_struct_statfs_f_fstypename=yes
+ ac_cv_type_fsid_t=yes
{ test "$target_cpu" = x64 && ac_cv_func___builtin_setjmp=no; }
AC_CHECK_TYPE([NET_LUID], [], [],
[@%:@include <windows.h>
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index 5a8479affb..02de48ce36 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -701,6 +701,7 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub
#define HAVE_RB_FD_INIT 1
#define HAVE_STRUCT_STATFS 1
#define HAVE_STRUCT_STATFS_F_FSTYPENAME 1
+#define HAVE_FSID_T 1
#define RUBY_SETJMP(env) _setjmp(env)
#define RUBY_LONGJMP(env,val) longjmp(env,val)
#define RUBY_JMP_BUF jmp_buf