diff options
author | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-12-28 16:56:16 +0000 |
---|---|---|
committer | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-12-28 16:56:16 +0000 |
commit | 98696bd2427a3c96640a8ff809d0047616bdcaad (patch) | |
tree | 1a9cf67ebcd08b4d91f18f26a8fe8910c3ca0677 | |
parent | d5c889cf9d82a585b03e248b5ae5ce743c3cf5e4 (diff) | |
download | ruby-98696bd2427a3c96640a8ff809d0047616bdcaad.tar.gz |
* include/ruby/ruby.h: fix #error pragma. LLP64 platform is supported.
* include/ruby/st.h: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | include/ruby/ruby.h | 2 | ||||
-rw-r--r-- | include/ruby/st.h | 2 |
3 files changed, 8 insertions, 2 deletions
@@ -1,3 +1,9 @@ +Thu Dec 29 01:51:13 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com> + + * 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@ruby-lang.org> * lib/fileutils.rb (FileUtils::Entry_#entries): use utility method diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h index 7e534eb1ff..0748db91be 100644 --- a/include/ruby/ruby.h +++ b/include/ruby/ruby.h @@ -98,7 +98,7 @@ typedef unsigned LONG_LONG ID; # 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]; diff --git a/include/ruby/st.h b/include/ruby/st.h index ff3da2a9c2..695fbf9cb9 100644 --- a/include/ruby/st.h +++ b/include/ruby/st.h @@ -36,7 +36,7 @@ typedef unsigned long st_data_t; #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 |