mirror of
https://github.com/php/php-src.git
synced 2026-04-28 02:33:17 +02:00
Merge branch 'PHP-7.0'
* PHP-7.0: SIZEOF_SIZE_T doesn't exist on AIX, keep using SIZEOF_LONG
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user