From: Lior Kaplan Date: Mon, 23 Nov 2015 17:08:46 +0000 (+0200) Subject: SIZEOF_SIZE_T doesn't exist on AIX, keep using SIZEOF_LONG X-Git-Tag: php-7.0.1RC1~24 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e322fb0015e0204a479b77cda6b8a75ed8ab86a7;p=php SIZEOF_SIZE_T doesn't exist on AIX, keep using SIZEOF_LONG Follow up for 3689b444 --- diff --git a/ext/mbstring/oniguruma/regint.h b/ext/mbstring/oniguruma/regint.h index f06154dda1..ee831a8137 100644 --- a/ext/mbstring/oniguruma/regint.h +++ b/ext/mbstring/oniguruma/regint.h @@ -227,7 +227,11 @@ } while(0) /* sizeof(OnigCodePoint) */ -#define WORD_ALIGNMENT_SIZE SIZEOF_SIZE_T +#ifdef SIZEOF_SIZE_T +# define WORD_ALIGNMENT_SIZE SIZEOF_SIZE_T +#else +# define WORD_ALIGNMENT_SIZE SIZEOF_LONG +#endif #define GET_ALIGNMENT_PAD_SIZE(addr,pad_size) do {\ (pad_size) = WORD_ALIGNMENT_SIZE \