ape: set MB_CUR_MAX to 4 in stdlib.h for 21-bit runes (thanks erik quanstro)

> fix silly bug with ape/stdlib.h which caused ape/lib/regexp/regcomp.c
> to miscompile regular expressions with runes > 0xffff.
This commit is contained in:
cinap_lenrek 2015-09-29 15:17:21 +02:00
parent 695f0e0694
commit cde69a7822

View file

@ -6,7 +6,7 @@
#define EXIT_FAILURE 1
#define EXIT_SUCCESS 0
#define MB_CUR_MAX 3
#define MB_CUR_MAX 4
#define RAND_MAX 32767
typedef struct { int quot, rem; } div_t;