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

ruby-changes:22104

From: nagachika <ko1@a...>
Date: Thu, 29 Dec 2011 01:56:34 +0900 (JST)
Subject: [ruby-changes:22104] nagachika:r34153 (trunk): * include/ruby/ruby.h: fix #error pragma. LLP64 platform is supported.

nagachika	2011-12-29 01:56:16 +0900 (Thu, 29 Dec 2011)

  New Revision: 34153

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

  Log:
    * include/ruby/ruby.h: fix #error pragma. LLP64 platform is supported.
    
    * include/ruby/st.h: ditto.

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

Index: include/ruby/ruby.h
===================================================================
--- include/ruby/ruby.h	(revision 34152)
+++ include/ruby/ruby.h	(revision 34153)
@@ -98,7 +98,7 @@
 # define SIZEOF_VALUE SIZEOF_LONG_LONG
 # define PRI_VALUE_PREFIX PRI_LL_PREFIX
 #else
-# error ---->> ruby requires sizeof(void*) == sizeof(long) to be compiled. <<----
+# error ---->> ruby requires sizeof(void*) == sizeof(long) or sizeof(LONG_LONG) to be compiled. <<----
 #endif
 
 typedef char ruby_check_sizeof_int[SIZEOF_INT == sizeof(int) ? 1 : -1];
Index: include/ruby/st.h
===================================================================
--- include/ruby/st.h	(revision 34152)
+++ include/ruby/st.h	(revision 34153)
@@ -36,7 +36,7 @@
 #elif SIZEOF_LONG_LONG == SIZEOF_VOIDP
 typedef unsigned LONG_LONG st_data_t;
 #else
-# error ---->> st.c requires sizeof(void*) == sizeof(long) to be compiled. <<----
+# error ---->> st.c requires sizeof(void*) == sizeof(long) or sizeof(LONG_LONG) to be compiled. <<----
 #endif
 #define ST_DATA_T_DEFINED
 
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 34152)
+++ ChangeLog	(revision 34153)
@@ -1,3 +1,9 @@
+Thu Dec 29 01:51:13 2011  CHIKANAGA Tomoyuki  <nagachika00@g...>
+
+	* include/ruby/ruby.h: fix #error pragma. LLP64 platform is supported.
+
+	* include/ruby/st.h: ditto.
+
 Wed Dec 28 11:22:45 2011  Nobuyoshi Nakada  <nobu@r...>
 
 	* lib/fileutils.rb (FileUtils::Entry_#entries): use utility method

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

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