From: Ilia Alshanetsky Date: Tue, 16 Mar 2004 16:36:54 +0000 (+0000) Subject: Fixed bug #27600 (GCC 3.0.4 does not like __attribute__ directive) X-Git-Tag: php-5.0.0RC1RC2~28 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fa5f52718a4e11053c39b1ec4d4a27c7eaeedc29;p=php Fixed bug #27600 (GCC 3.0.4 does not like __attribute__ directive) --- diff --git a/Zend/zend.h b/Zend/zend.h index 5cc6f243e3..c734f06f95 100644 --- a/Zend/zend.h +++ b/Zend/zend.h @@ -168,7 +168,7 @@ char *alloca (); # define ZEND_ATTRIBUTE_FORMAT(type, idx, first) #endif -#if ZEND_GCC_VERSION >= 3002 +#if ZEND_GCC_VERSION >= 3004 # define ZEND_ATTRIBUTE_PTR_FORMAT(type, idx, first) __attribute__ ((format(type, idx, first))) #else # define ZEND_ATTRIBUTE_PTR_FORMAT(type, idx, first)