ruby-changes:27727
From: nobu <ko1@a...>
Date: Sat, 16 Mar 2013 23:50:24 +0900 (JST)
Subject: [ruby-changes:27727] nobu:r39779 (trunk): Makefile.sub: fix mswin build
nobu 2013-03-16 23:48:33 +0900 (Sat, 16 Mar 2013) New Revision: 39779 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39779 Log: Makefile.sub: fix mswin build * win32/Makefile.sub (config.h): fix mswin build, also VC has time.h and struct timeval. Modified files: trunk/win32/Makefile.sub Index: win32/Makefile.sub =================================================================== --- win32/Makefile.sub (revision 39778) +++ win32/Makefile.sub (revision 39779) @@ -567,11 +567,13 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/ https://github.com/ruby/ruby/blob/trunk/win32/Makefile.sub#L567 #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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/