mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* st.h (st_data_t): use pointer sized integer for st_data_t.
[ruby-dev:28988] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9dde6bd829
commit
40ca06cb4b
2 changed files with 12 additions and 0 deletions
|
@ -3,6 +3,11 @@ Mon Jul 10 09:29:12 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|||
* eval.c (rb_clear_cache_for_undef): clear entries for included
|
||||
module. fixed: [ruby-core:08180]
|
||||
|
||||
Mon Jul 10 01:48:38 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* st.h (st_data_t): use pointer sized integer for st_data_t.
|
||||
[ruby-dev:28988]
|
||||
|
||||
Sun Jul 9 18:06:47 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* lib/mkmf.rb (try_constant): fix for value 1 at cross compiling.
|
||||
|
|
7
st.h
7
st.h
|
@ -6,7 +6,14 @@
|
|||
|
||||
#define ST_INCLUDED
|
||||
|
||||
#if SIZEOF_LONG == SIZEOF_VOIDP
|
||||
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. <<---
|
||||
-
|
||||
#endif
|
||||
#define ST_DATA_T_DEFINED
|
||||
|
||||
typedef struct st_table st_table;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue