diff options
Diffstat (limited to 'src/include/regex/regex2.h')
-rw-r--r-- | src/include/regex/regex2.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/include/regex/regex2.h b/src/include/regex/regex2.h index 3bd1469750..e17491164a 100644 --- a/src/include/regex/regex2.h +++ b/src/include/regex/regex2.h @@ -197,15 +197,7 @@ struct re_guts /* misc utilities */ #ifdef MULTIBYTE -# if MULTIBYTE == MULE_INTERNAL -# define OUT (16777216+1) /* 16777216 == 2^24 == 3 bytes */ -# elif MULTIBYTE == EUC_JP || MULTIBYTE == EUC_CN || MULTIBYTE == EUC_KR || MULTIBYTE == EUC_TW -# define OUT (USHRT_MAX+1) /* 2 bytes */ -# elif MULTIBYTE == UNICODE -# define OUT (USHRT_MAX+1) /* 2 bytes. assuming UCS-2 */ -# else -# define OUT (UCHAR_MAX+1) /* other codes. assuming 1 byte */ -# endif +# define OUT (16777216+1) /* 16777216 == 2^24 == 3 bytes */ #else # define OUT (CHAR_MAX+1) /* a non-character value */ #endif |