From 8b4bb5c9cfd7fd1680f5fea8e8da08b267b463bc Mon Sep 17 00:00:00 2001 From: shyouhei Date: Wed, 15 Aug 2007 22:51:57 +0000 Subject: * defines.h: Pull the RUBY_MBCHAR_MAXSIZE definition from trunk, which is necessary for dir.c to compile on djgpp and emx. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@13038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ defines.h | 5 +++++ version.h | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5e76eefc98..7b358464ad 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Aug 16 07:51:37 2007 Akinori MUSHA + + * defines.h: Pull the RUBY_MBCHAR_MAXSIZE definition from trunk, + which is necessary for dir.c to compile on djgpp and emx. + Thu Aug 16 07:42:10 2007 Nobuyoshi Nakada * intern.h (is_ruby_native_thread): removed since declared as an int diff --git a/defines.h b/defines.h index 89167e537e..d8c3299a66 100644 --- a/defines.h +++ b/defines.h @@ -203,6 +203,11 @@ void xfree _((void*)); #define EXTERN RUBY_EXTERN /* deprecated */ #endif +#ifndef RUBY_MBCHAR_MAXSIZE +#define RUBY_MBCHAR_MAXSIZE INT_MAX + /* MB_CUR_MAX will not work well in C locale */ +#endif + #if defined(sparc) || defined(__sparc__) static inline void flush_register_windows(void) diff --git a/version.h b/version.h index c02cbe3c7d..3d1da5b528 100644 --- a/version.h +++ b/version.h @@ -2,7 +2,7 @@ #define RUBY_RELEASE_DATE "2007-08-16" #define RUBY_VERSION_CODE 185 #define RUBY_RELEASE_CODE 20070816 -#define RUBY_PATCHLEVEL 87 +#define RUBY_PATCHLEVEL 88 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 8 -- cgit v1.2.3