diff options
author | Dmitry Stogov <dmitry@zend.com> | 2015-06-25 12:02:28 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2015-06-25 12:02:28 +0300 |
commit | f5fd58f737eb988fdd484effe0f05d5b6e9af64e (patch) | |
tree | 9d2f2fdc396931a0da022146dc2db42fcb7ba906 /Zend/zend_alloc.h | |
parent | 90976c997898f88961ac8ed941537c64551336e4 (diff) | |
download | php-git-f5fd58f737eb988fdd484effe0f05d5b6e9af64e.tar.gz |
Better check for __builtin_constant_p() availability
Diffstat (limited to 'Zend/zend_alloc.h')
-rw-r--r-- | Zend/zend_alloc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_alloc.h b/Zend/zend_alloc.h index f76494e0d4..6c12b4247d 100644 --- a/Zend/zend_alloc.h +++ b/Zend/zend_alloc.h @@ -84,7 +84,7 @@ ZEND_API size_t ZEND_FASTCALL _zend_mem_block_size(void *ptr ZEND_FILE_LINE_DC Z #include "zend_alloc_sizes.h" /* _emalloc() & _efree() specialization */ -#if !ZEND_DEBUG && !defined(_WIN32) +#if !ZEND_DEBUG && defined(HAVE_BUILTIN_CONSTANT_P) # define _ZEND_BIN_ALLOCATOR_DEF(_num, _size, _elements, _pages, x, y) \ ZEND_API void* ZEND_FASTCALL _emalloc_ ## _size(void) ZEND_ATTRIBUTE_MALLOC; |