mirror of
https://github.com/php/php-src.git
synced 2024-09-23 02:47:26 +00:00
Enable attribute((malloc)) for GCC 2.96
This commit is contained in:
parent
06273c5637
commit
f065aba3ba
@ -70,7 +70,7 @@ typedef union _align_test {
|
||||
# define PLATFORM_ALIGNMENT (sizeof(align_test))
|
||||
#endif
|
||||
|
||||
#if __GNUC__ -0 >= 3
|
||||
#if GCC_VERSION - 0 >= 2096
|
||||
# define ZEND_ATTRIBUTE_MALLOC __attribute__ ((malloc))
|
||||
#else
|
||||
# define ZEND_ATTRIBUTE_MALLOC
|
||||
|
Loading…
Reference in New Issue
Block a user