From 1619f3da86c9d3e0ffb21344e215714f8fc8909b Mon Sep 17 00:00:00 2001 From: usa Date: Tue, 26 Jun 2007 07:28:42 +0000 Subject: * regint.h: IL32LLP64 support. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ regint.h | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index 1849be058..26145a819 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Tue Jun 26 16:26:58 2007 NAKAMURA Usaku + + * regint.h: IL32LLP64 support. + Tue Jun 26 16:22:45 2007 Koichi Sasada * iseq.c (ruby_node_name): update node names. diff --git a/regint.h b/regint.h index 4a6fc4633..721f66755 100644 --- a/regint.h +++ b/regint.h @@ -876,7 +876,12 @@ extern int onig_is_code_in_cc P_((OnigEncoding enc, OnigCodePoint code, CClassN /* strend hash */ typedef void hash_table_type; +#ifdef RUBY +#include +typedef st_data_t hash_data_type; +#else typedef unsigned long hash_data_type; +#endif extern hash_table_type* onig_st_init_strend_table_with_size P_((int size)); extern int onig_st_lookup_strend P_((hash_table_type* table, const UChar* str_key, const UChar* end_key, hash_data_type *value)); -- cgit