]> granicus.if.org Git - php/commitdiff
ICC doesn't support __attribute__ for pointers
authorAntony Dovgal <tony2001@php.net>
Fri, 25 Nov 2005 12:25:22 +0000 (12:25 +0000)
committerAntony Dovgal <tony2001@php.net>
Fri, 25 Nov 2005 12:25:22 +0000 (12:25 +0000)
Zend/zend.h

index 46983a2354e9af82b46e3066c9898067b2b933b1..fb954ed6183b33f2f05526c6e270dfe4dbf54aa5 100644 (file)
@@ -172,7 +172,7 @@ char *alloca ();
 # define ZEND_ATTRIBUTE_FORMAT(type, idx, first)
 #endif
 
-#if ZEND_GCC_VERSION >= 3001
+#if ZEND_GCC_VERSION >= 3001 && !defined(__INTEL_COMPILER)
 # define ZEND_ATTRIBUTE_PTR_FORMAT(type, idx, first) __attribute__ ((format(type, idx, first)))
 #else
 # define ZEND_ATTRIBUTE_PTR_FORMAT(type, idx, first)