From 65db16de9f7f9fb806dea4bf072e5585cdd42ee2 Mon Sep 17 00:00:00 2001 From: duerst Date: Mon, 16 May 2016 10:46:32 +0000 Subject: * include/ruby/oniguruma.h: Introducing ONIG_CASE_MAPPING compilation switch * include/ruby/oniguruma.h, enc/unicode.h: Using ONIG_CASE_MAPPING compilation switch git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- include/ruby/oniguruma.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'include/ruby') diff --git a/include/ruby/oniguruma.h b/include/ruby/oniguruma.h index b45072f48d..9318c0db24 100644 --- a/include/ruby/oniguruma.h +++ b/include/ruby/oniguruma.h @@ -128,14 +128,20 @@ typedef unsigned int OnigCaseFoldType; /* case fold flag */ ONIG_EXTERN OnigCaseFoldType OnigDefaultCaseFoldFlag; +#define ONIG_CASE_MAPPING + +#ifdef ONIG_CASE_MAPPING /* bits for actual code point count; 3 bits is more than enough, currently only 2 used */ #define OnigCodePointMaskWidth 3 #define OnigCodePointMask ((1<