cvs: ZendEngine2 / zend.h
| From: | Antony Dovgal | Date: | Fri, 25 Nov 2005 12:25:22 +0000 |
| Subject: | cvs: ZendEngine2 / zend.h | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-4393@lists.php.net to get a copy of this message | ||
tony2001 Fri Nov 25 07:25:22 2005 EDT
Modified files:
/ZendEngine2 zend.h
Log:
ICC doesn't support __attribute__ for pointers
http://cvs.php.net/diff.php/ZendEngine2/zend.h?r1=1.303&r2=1.304&ty=u
Index: ZendEngine2/zend.h
diff -u ZendEngine2/zend.h:1.303 ZendEngine2/zend.h:1.304
--- ZendEngine2/zend.h:1.303 Tue Nov 15 11:50:07 2005
+++ ZendEngine2/zend.h Fri Nov 25 07:25:22 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend.h,v 1.303 2005/11/15 16:50:07 dmitry Exp $ */
+/* $Id: zend.h,v 1.304 2005/11/25 12:25:22 tony2001 Exp $ */
#ifndef ZEND_H
#define ZEND_H
@@ -172,7 +172,7 @@
# 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)