* 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
This commit is contained in:
parent
d5c889cf9d
commit
98696bd242
@ -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>
|
Wed Dec 28 11:22:45 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* lib/fileutils.rb (FileUtils::Entry_#entries): use utility method
|
* lib/fileutils.rb (FileUtils::Entry_#entries): use utility method
|
||||||
|
@ -98,7 +98,7 @@ typedef unsigned LONG_LONG ID;
|
|||||||
# define SIZEOF_VALUE SIZEOF_LONG_LONG
|
# define SIZEOF_VALUE SIZEOF_LONG_LONG
|
||||||
# define PRI_VALUE_PREFIX PRI_LL_PREFIX
|
# define PRI_VALUE_PREFIX PRI_LL_PREFIX
|
||||||
#else
|
#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
|
#endif
|
||||||
|
|
||||||
typedef char ruby_check_sizeof_int[SIZEOF_INT == sizeof(int) ? 1 : -1];
|
typedef char ruby_check_sizeof_int[SIZEOF_INT == sizeof(int) ? 1 : -1];
|
||||||
|
@ -36,7 +36,7 @@ typedef unsigned long st_data_t;
|
|||||||
#elif SIZEOF_LONG_LONG == SIZEOF_VOIDP
|
#elif SIZEOF_LONG_LONG == SIZEOF_VOIDP
|
||||||
typedef unsigned LONG_LONG st_data_t;
|
typedef unsigned LONG_LONG st_data_t;
|
||||||
#else
|
#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
|
#endif
|
||||||
#define ST_DATA_T_DEFINED
|
#define ST_DATA_T_DEFINED
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user