mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
- fix VC6 build
This commit is contained in:
parent
a7279c4457
commit
f6b2e89ea6
1 changed files with 7 additions and 7 deletions
|
@ -54,15 +54,15 @@ extern "C" {
|
|||
/*
|
||||
** Add the ability to mark interfaces as deprecated.
|
||||
*/
|
||||
#if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))
|
||||
/* GCC added the deprecated attribute in version 3.1 */
|
||||
#define SQLITE_DEPRECATED __attribute__ ((deprecated))
|
||||
#elif defined(_MSC_VER)
|
||||
#define SQLITE_DEPRECATED __declspec(deprecated)
|
||||
#if ZEND_GCC_VERSION >= 3001
|
||||
# define SQLITE_DEPRECATED __attribute__((deprecated))
|
||||
#elif defined(ZEND_WIN32) && defined(_MSC_VER) && _MSC_VER >= 1300
|
||||
# define SQLITE_DEPRECATED __declspec(deprecated)
|
||||
#else
|
||||
#define SQLITE_DEPRECATED
|
||||
# define SQLITE_DEPRECATED
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
** Add the ability to mark interfaces as experimental.
|
||||
*/
|
||||
|
@ -70,7 +70,7 @@ extern "C" {
|
|||
/* I can confirm that it does not work on version 4.1.0... */
|
||||
/* First appears in GCC docs for version 4.3.0 */
|
||||
#define SQLITE_EXPERIMENTAL __attribute__ ((warning ("is experimental")))
|
||||
#elif defined(_MSC_VER)
|
||||
#elif defined(_MSC_VER) && _MSC_VER >= 1500
|
||||
#define SQLITE_EXPERIMENTAL __declspec(deprecated("was declared experimental"))
|
||||
#else
|
||||
#define SQLITE_EXPERIMENTAL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue