summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2014-08-15 18:28:41 +0800
committerXinchen Hui <laruence@php.net>2014-08-15 18:28:41 +0800
commit0583b3bd6a52617b597ea5275aec2f8c545fcbf4 (patch)
tree6ad25e7020e7edee917d5c01dc2f2c043621820c
parent7ace092abfec31749da230405a7298d9b5789f43 (diff)
downloadphp-git-0583b3bd6a52617b597ea5275aec2f8c545fcbf4.tar.gz
Fixed version checking
-rw-r--r--ext/mysqli/mysqli.c2
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)