diff options
author | Lior Kaplan <kaplanlior@gmail.com> | 2015-11-23 19:08:46 +0200 |
---|---|---|
committer | Lior Kaplan <kaplanlior@gmail.com> | 2015-12-02 19:30:05 +0200 |
commit | e322fb0015e0204a479b77cda6b8a75ed8ab86a7 (patch) | |
tree | 9fa5686de88b15994ed00a225cf60a6eb0e3a27f | |
parent | 2f62ad16a4e1852f71bf06974800085ef383bd8f (diff) | |
download | php-git-e322fb0015e0204a479b77cda6b8a75ed8ab86a7.tar.gz |
SIZEOF_SIZE_T doesn't exist on AIX, keep using SIZEOF_LONG
Follow up for 3689b444
-rw-r--r-- | ext/mbstring/oniguruma/regint.h | 6 |
1 files changed, 5 insertions, 1 deletions
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 \ |