cvs: ZendEngine2(PHP_5_3) / zend.h
"Stanislav Malyshev" <[email protected]>
| Newsgroups | gmane.comp.php.cvs.zend |
|---|---|
| Message-ID | <cvsstas1214524886@cvsserver> |
stas Fri Jun 27 00:01:26 2008 UTC
Modified files: (Branch: PHP_5_3)
/ZendEngine2 zend.h
Log:
allow deprecating engine functions
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend.h?r1=1.293.2.11.2.9.2.21&r2=1.293.2.11.2.9.2.22&diff_format=u
Index: ZendEngine2/zend.h
diff -u ZendEngine2/zend.h:1.293.2.11.2.9.2.21 ZendEngine2/zend.h:1.293.2.11.2.9.2.22
--- ZendEngine2/zend.h:1.293.2.11.2.9.2.21 Wed Jun 11 13:18:39 2008
+++ ZendEngine2/zend.h Fri Jun 27 00:01:25 2008
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend.h,v 1.293.2.11.2.9.2.21 2008/06/11 13:18:39 dmitry Exp $ */
+/* $Id: zend.h,v 1.293.2.11.2.9.2.22 2008/06/27 00:01:25 stas Exp $ */
#ifndef ZEND_H
#define ZEND_H
@@ -176,6 +176,12 @@
# define ZEND_ATTRIBUTE_PTR_FORMAT(type, idx, first)
#endif
+#if ZEND_GCC_VERSION >= 3001
+# define ZEND_ATTRIBUTE_DEPRECATED __attribute__((deprecated))
+#else
+# define ZEND_ATTRIBUTE_DEPRECATED
+#endif
+
#if defined(__GNUC__) && ZEND_GCC_VERSION >= 3400 && defined(__i386__)
# define ZEND_FASTCALL __attribute__((fastcall))
#elif defined(_MSC_VER) && defined(_M_IX86)
--
Zend Engine CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php