com php-src: SIZEOF_SIZE_T doesn't exist on AIX , keep using SIZEOF_LONG: ext/mbstring/oniguruma/ regint.h

From: Date: Wed, 02 Dec 2015 17:30:05 +0000
Subject: com php-src: SIZEOF_SIZE_T doesn't exist on AIX , keep using SIZEOF_LONG: ext/mbstring/oniguruma/ regint.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-90075@lists.php.net to get a copy of this message
Commit: e322fb0015e0204a479b77cda6b8a75ed8ab86a7 Author: Lior Kaplan <kaplanlior@gmail.com> Mon, 23 Nov 2015 19:08:46 +0200 Parents: 2f62ad16a4e1852f71bf06974800085ef383bd8f Branches: PHP-7.0 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e322fb0015e0204a479b77cda6b8a75ed8ab86a7 Log: SIZEOF_SIZE_T doesn't exist on AIX, keep using SIZEOF_LONG Follow up for 3689b444 Changed paths: M ext/mbstring/oniguruma/regint.h Diff: diff --git a/ext/mbstring/oniguruma/regint.h b/ext/mbstring/oniguruma/regint.h index f06154d..ee831a8 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 \

« previous php.cvs (#90075) next »