enable on MSVC too

This commit is contained in:
Stanislav Malyshev 2008-06-27 18:45:15 +00:00
parent 8a23c1d2d8
commit 3143e62b80

View File

@ -179,6 +179,8 @@ char *alloca ();
#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