[前][次][番号順一覧][スレッド一覧]

ruby-changes:28694

From: usa <ko1@a...>
Date: Wed, 15 May 2013 01:08:35 +0900 (JST)
Subject: [ruby-changes:28694] usa:r40746 (ruby_1_9_3): * include/ruby/intern.h: should include sys/time.h for struct timeval

usa	2013-05-15 01:08:22 +0900 (Wed, 15 May 2013)

  New Revision: 40746

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40746

  Log:
    * include/ruby/intern.h: should include sys/time.h for struct timeval
      if it exists.

  Modified files:
    branches/ruby_1_9_3/ChangeLog
    branches/ruby_1_9_3/include/ruby/intern.h
    branches/ruby_1_9_3/version.h

Index: ruby_1_9_3/include/ruby/intern.h
===================================================================
--- ruby_1_9_3/include/ruby/intern.h	(revision 40745)
+++ ruby_1_9_3/include/ruby/intern.h	(revision 40746)
@@ -36,6 +36,10 @@ extern "C" { https://github.com/ruby/ruby/blob/trunk/ruby_1_9_3/include/ruby/intern.h#L36
 #include <sys/types.h>
 #endif
 
+#if defined(HAVE_SYS_TIME_H)
+#include <sys/time.h>
+#endif
+
 #include "ruby/st.h"
 
 #if defined __GNUC__ && __GNUC__ >= 4
Index: ruby_1_9_3/ChangeLog
===================================================================
--- ruby_1_9_3/ChangeLog	(revision 40745)
+++ ruby_1_9_3/ChangeLog	(revision 40746)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ruby_1_9_3/ChangeLog#L1
+Wed May 15 01:06:26 2013  NAKAMURA Usaku  <usa@r...>
+
+	* include/ruby/intern.h: should include sys/time.h for struct timeval
+	  if it exists.
+
 Wed May 15 00:23:07 2013  Nobuyoshi Nakada  <nobu@r...>
 
 	* configure.in (warnflags): disable -Werror by default unless
Index: ruby_1_9_3/version.h
===================================================================
--- ruby_1_9_3/version.h	(revision 40745)
+++ ruby_1_9_3/version.h	(revision 40746)
@@ -1,5 +1,5 @@ https://github.com/ruby/ruby/blob/trunk/ruby_1_9_3/version.h#L1
 #define RUBY_VERSION "1.9.3"
-#define RUBY_PATCHLEVEL 428
+#define RUBY_PATCHLEVEL 429
 
 #define RUBY_RELEASE_DATE "2013-05-15"
 #define RUBY_RELEASE_YEAR 2013

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]