cvs: ZendEngine2 / zend.h

"Stanislav Malyshev" <[email protected]>
Newsgroups gmane.comp.php.cvs.zend
Message-ID <cvsstas1214592315@cvsserver>
stas		Fri Jun 27 18:45:15 2008 UTC

  Modified files:              
    /ZendEngine2	zend.h 
  Log:
  enable on MSVC too
  
  
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend.h?r1=1.354&r2=1.355&diff_format=u
Index: ZendEngine2/zend.h
diff -u ZendEngine2/zend.h:1.354 ZendEngine2/zend.h:1.355
--- ZendEngine2/zend.h:1.354	Fri Jun 27 01:24:08 2008
+++ ZendEngine2/zend.h	Fri Jun 27 18:45:15 2008
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: zend.h,v 1.354 2008/06/27 01:24:08 stas Exp $ */
+/* $Id: zend.h,v 1.355 2008/06/27 18:45:15 stas Exp $ */
 
 #ifndef ZEND_H
 #define ZEND_H
@@ -179,6 +179,8 @@
 
 #if ZEND_GCC_VERSION >= 3001
 # define ZEND_ATTRIBUTE_DEPRECATED  __attribute__((deprecated))
+#elif defined(ZEND_WIN32) && defined(_MSC_VER) && _MSC_VER >= 1300
+# define ZEND_ATTRIBUTE_DEPRECATED  __declspec(deprecated)
 #else
 # define ZEND_ATTRIBUTE_DEPRECATED
 #endif



-- 
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.