Cygwin: define CHARCLASS_NAME_MAX

CHARCLASS_NAME_MAX isn't defined yet, accidentally.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2023-03-01 21:20:26 +01:00
parent c0aba3141b
commit 68db1fa7ba
1 changed files with 2 additions and 3 deletions

View File

@ -375,9 +375,8 @@ details. */
#undef BC_STRING_MAX
#define BC_STRING_MAX 1000
/* Maximum number of bytes in a character class name. Not implemented. */
#undef CHARCLASS_NAME_MAX
/* #define CHARCLASS_NAME_MAX >= _POSIX2_CHARCLASS_NAME_MAX */
/* Maximum number of bytes in a character class name. */
#define CHARCLASS_NAME_MAX 14
/* Maximum number of weights that can be assigned to an entry of the
LC_COLLATE order keyword in the locale definition file. */