diff options
author | Xinchen Hui <laruence@php.net> | 2014-08-15 18:28:41 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@php.net> | 2014-08-15 18:28:41 +0800 |
commit | 0583b3bd6a52617b597ea5275aec2f8c545fcbf4 (patch) | |
tree | 6ad25e7020e7edee917d5c01dc2f2c043621820c | |
parent | 7ace092abfec31749da230405a7298d9b5789f43 (diff) | |
download | php-git-0583b3bd6a52617b597ea5275aec2f8c545fcbf4.tar.gz |
Fixed version checking
-rw-r--r-- | ext/mysqli/mysqli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqli/mysqli.c b/ext/mysqli/mysqli.c index 9374737550..fb93095c42 100644 --- a/ext/mysqli/mysqli.c +++ b/ext/mysqli/mysqli.c @@ -995,7 +995,7 @@ PHP_MINFO_FUNCTION(mysqli) /* Dependancies */ static const zend_module_dep mysqli_deps[] = { -#if defined(HAVE_SPL) && ((PHP_MAJOR_VERSION > 5) || (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 1)) +#if defined(HAVE_SPL) && (PHP_VERSION_ID >= 50100) ZEND_MOD_REQUIRED("spl") #endif #if defined(MYSQLI_USE_MYSQLND) |