cvs: ZendEngine2 / zend.h

"Stanislav Malyshev" <[email protected]>
Newsgroups gmane.comp.php.cvs.zend
Message-ID <cvsstas1214529848@cvsserver>
stas		Fri Jun 27 01:24:08 2008 UTC

  Modified files:              
    /ZendEngine2	zend.h 
  Log:
  MFB: allow to deprecate engine functions
  
  
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend.h?r1=1.353&r2=1.354&diff_format=u
Index: ZendEngine2/zend.h
diff -u ZendEngine2/zend.h:1.353 ZendEngine2/zend.h:1.354
--- ZendEngine2/zend.h:1.353	Wed Jun 11 13:19:14 2008
+++ ZendEngine2/zend.h	Fri Jun 27 01:24:08 2008
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: zend.h,v 1.353 2008/06/11 13:19:14 dmitry Exp $ */
+/* $Id: zend.h,v 1.354 2008/06/27 01:24:08 stas Exp $ */
 
 #ifndef ZEND_H
 #define ZEND_H
@@ -177,6 +177,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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.