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

ruby-changes:9085

From: nobu <ko1@a...>
Date: Thu, 11 Dec 2008 11:11:42 +0900 (JST)
Subject: [ruby-changes:9085] Ruby:r20622 (trunk, ruby_1_9_1): * include/ruby/st.h (size_t): needs stddef.h or stdlib.h.

nobu	2008-12-11 11:11:09 +0900 (Thu, 11 Dec 2008)

  New Revision: 20622

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

  Log:
    * include/ruby/st.h (size_t): needs stddef.h or stdlib.h.
      [ruby-core:20339]

  Modified files:
    branches/ruby_1_9_1/ChangeLog
    branches/ruby_1_9_1/include/ruby/st.h
    branches/ruby_1_9_1/version.h
    trunk/ChangeLog
    trunk/include/ruby/st.h

Index: include/ruby/st.h
===================================================================
--- include/ruby/st.h	(revision 20621)
+++ include/ruby/st.h	(revision 20622)
@@ -12,6 +12,19 @@
 #endif
 #endif
 
+#ifndef RUBY_LIB
+#include "ruby/config.h"
+#ifdef RUBY_EXTCONF_H
+#include RUBY_EXTCONF_H
+#endif
+#endif
+
+#if   defined STDC_HEADERS
+#include <stddef.h>
+#elif defined HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+
 #if SIZEOF_LONG == SIZEOF_VOIDP
 typedef unsigned long st_data_t;
 #elif SIZEOF_LONG_LONG == SIZEOF_VOIDP
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 20621)
+++ ChangeLog	(revision 20622)
@@ -1,3 +1,8 @@
+Thu Dec 11 11:11:03 2008  Nobuyoshi Nakada  <nobu@r...>
+
+	* include/ruby/st.h (size_t): needs stddef.h or stdlib.h.
+	  [ruby-core:20339]
+
 Thu Dec 11 10:25:25 2008  Yukihiro Matsumoto  <matz@r...>
 
 	* test/ruby/test_bignum.rb (TestBignum#test_convert): remove
Index: ruby_1_9_1/include/ruby/st.h
===================================================================
--- ruby_1_9_1/include/ruby/st.h	(revision 20621)
+++ ruby_1_9_1/include/ruby/st.h	(revision 20622)
@@ -12,6 +12,19 @@
 #endif
 #endif
 
+#ifndef RUBY_LIB
+#include "ruby/config.h"
+#ifdef RUBY_EXTCONF_H
+#include RUBY_EXTCONF_H
+#endif
+#endif
+
+#if   defined STDC_HEADERS
+#include <stddef.h>
+#elif defined HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+
 #if SIZEOF_LONG == SIZEOF_VOIDP
 typedef unsigned long st_data_t;
 #elif SIZEOF_LONG_LONG == SIZEOF_VOIDP
Index: ruby_1_9_1/ChangeLog
===================================================================
--- ruby_1_9_1/ChangeLog	(revision 20621)
+++ ruby_1_9_1/ChangeLog	(revision 20622)
@@ -1,3 +1,8 @@
+Thu Dec 11 11:11:03 2008  Nobuyoshi Nakada  <nobu@r...>
+
+	* include/ruby/st.h (size_t): needs stddef.h or stdlib.h.
+	  [ruby-core:20339]
+
 Wed Dec 10 01:28:46 2008  NAKAMURA Usaku  <usa@r...>
 
 	* common.mk (win32.obj): depend on headers.
Index: ruby_1_9_1/version.h
===================================================================
--- ruby_1_9_1/version.h	(revision 20621)
+++ ruby_1_9_1/version.h	(revision 20622)
@@ -1,7 +1,7 @@
 #define RUBY_VERSION "1.9.1"
-#define RUBY_RELEASE_DATE "2008-12-10"
+#define RUBY_RELEASE_DATE "2008-12-11"
 #define RUBY_VERSION_CODE 191
-#define RUBY_RELEASE_CODE 20081210
+#define RUBY_RELEASE_CODE 20081211
 #define RUBY_PATCHLEVEL 0
 
 #define RUBY_VERSION_MAJOR 1
@@ -9,7 +9,7 @@
 #define RUBY_VERSION_TEENY 1
 #define RUBY_RELEASE_YEAR 2008
 #define RUBY_RELEASE_MONTH 12
-#define RUBY_RELEASE_DAY 10
+#define RUBY_RELEASE_DAY 11
 
 #ifdef RUBY_EXTERN
 RUBY_EXTERN const char ruby_version[];

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

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