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

ruby-changes:13369

From: naruse <ko1@a...>
Date: Tue, 29 Sep 2009 04:24:35 +0900 (JST)
Subject: [ruby-changes:13369] Ruby:r25138 (trunk): * include/ruby/st.h: include inttypes.h and stdint.h.

naruse	2009-09-29 04:24:10 +0900 (Tue, 29 Sep 2009)

  New Revision: 25138

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

  Log:
    * include/ruby/st.h: include inttypes.h and stdint.h.

  Modified files:
    trunk/ChangeLog
    trunk/include/ruby/st.h

Index: include/ruby/st.h
===================================================================
--- include/ruby/st.h	(revision 25137)
+++ include/ruby/st.h	(revision 25138)
@@ -26,6 +26,13 @@
 #include <stdlib.h>
 #endif
 
+#ifdef HAVE_STDINT_H
+# include <stdint.h>
+#endif
+#ifdef HAVE_INTTYPES_H
+# include <inttypes.h>
+#endif
+
 #if SIZEOF_LONG == SIZEOF_VOIDP
 typedef unsigned long st_data_t;
 #elif SIZEOF_LONG_LONG == SIZEOF_VOIDP
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 25137)
+++ ChangeLog	(revision 25138)
@@ -1,3 +1,7 @@
+Tue Sep 29 04:06:18 2009  NARUSE, Yui  <naruse@r...>
+
+	* include/ruby/st.h: include inttypes.h and stdint.h.
+
 Tue Sep 29 00:07:06 2009  Nobuyoshi Nakada  <nobu@r...>
 
 	* hash.c (rb_f_getenv, env_fetch): env string may be overwritten.

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

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