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

ruby-changes:28714

From: nagachika <ko1@a...>
Date: Wed, 15 May 2013 23:42:12 +0900 (JST)
Subject: [ruby-changes:28714] nagachika:r40766 (ruby_2_0_0): * include/ruby/intern.h: should include sys/time.h for struct timeval

nagachika	2013-05-15 23:41:57 +0900 (Wed, 15 May 2013)

  New Revision: 40766

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

  Log:
    * include/ruby/intern.h: should include sys/time.h for struct timeval
      if it exists. [ruby-list:49363]

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

Index: ruby_2_0_0/include/ruby/intern.h
===================================================================
--- ruby_2_0_0/include/ruby/intern.h	(revision 40765)
+++ ruby_2_0_0/include/ruby/intern.h	(revision 40766)
@@ -36,6 +36,10 @@ extern "C" { https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/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_2_0_0/ChangeLog
===================================================================
--- ruby_2_0_0/ChangeLog	(revision 40765)
+++ ruby_2_0_0/ChangeLog	(revision 40766)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/ChangeLog#L1
+Wed May 15 23:22:09 2013  CHIKANAGA Tomoyuki  <nagachika@r...>
+
+	* include/ruby/intern.h: should include sys/time.h for struct timeval
+	  if it exists. [ruby-list:49363]
+
 Tue May 14 20:21:41 2013  Eric Hodel  <drbrain@s...>
 
 	* lib/rubygems/config_file.rb:  Lazily load .gem/credentials to only
Index: ruby_2_0_0/version.h
===================================================================
--- ruby_2_0_0/version.h	(revision 40765)
+++ ruby_2_0_0/version.h	(revision 40766)
@@ -1,10 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/version.h#L1
 #define RUBY_VERSION "2.0.0"
-#define RUBY_RELEASE_DATE "2013-05-14"
-#define RUBY_PATCHLEVEL 195
+#define RUBY_RELEASE_DATE "2013-05-15"
+#define RUBY_PATCHLEVEL 196
 
 #define RUBY_RELEASE_YEAR 2013
 #define RUBY_RELEASE_MONTH 5
-#define RUBY_RELEASE_DAY 14
+#define RUBY_RELEASE_DAY 15
 
 #include "ruby/version.h"
 

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

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