From de9911f5970bae5072a82ac33e054b5cf4bb7dac Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 16 Mar 2013 14:48:33 +0000 Subject: [PATCH] Makefile.sub: fix mswin build * win32/Makefile.sub (config.h): fix mswin build, also VC has time.h and struct timeval. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- win32/Makefile.sub | 2 ++ 1 file changed, 2 insertions(+) diff --git a/win32/Makefile.sub b/win32/Makefile.sub index 99ef4ccc67..38c8939380 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -567,11 +567,13 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub #define HAVE_FCNTL_H 1 #define HAVE_SYS_UTIME_H 1 #define HAVE_FLOAT_H 1 +#define HAVE_TIME_H 1 #define rb_pid_t int #define rb_gid_t int #define rb_uid_t int #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_RDEV 1 +#define HAVE_STRUCT_TIMEVAL 1 !if $(MSC_VER) >= 1600 #define HAVE_STDINT_H 1 !else