]> granicus.if.org Git - php/commitdiff
Fixed bug #27600 (GCC 3.0.4 does not like __attribute__ directive)
authorIlia Alshanetsky <iliaa@php.net>
Tue, 16 Mar 2004 16:36:54 +0000 (16:36 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Tue, 16 Mar 2004 16:36:54 +0000 (16:36 +0000)
Zend/zend.h

index 5cc6f243e32466a75a5c41287c16b5807e35bd8d..c734f06f95b145d03cfddf90351478dbb8afb1ba 100644 (file)
@@ -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)