summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2017-06-07 15:22:20 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2017-06-09 13:49:32 +0200
commitc3b910370c5c92007c3e3579024490345cb7f9a7 (patch)
treeac1896f35808b9f942315566906f87646a3189ec
parent9997767dc381de43ed6e8e138306c163afad6119 (diff)
downloadphp-git-c3b910370c5c92007c3e3579024490345cb7f9a7.tar.gz
Use reasonable SQLite3 module version
Since PECL/sqlite3 has been moved to ext/sqlite3 in 2008, the SQLite3 module version is hardcoded to `0.7-dev`. It doesn't appear to make much sense to have an own module version for a bundled extensions, but as other code might rely on it, we don't remove the constant but rather make it an alias of the PHP version.
-rw-r--r--ext/sqlite3/php_sqlite3.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sqlite3/php_sqlite3.h b/ext/sqlite3/php_sqlite3.h
index a753584229..c6bf4af07e 100644
--- a/ext/sqlite3/php_sqlite3.h
+++ b/ext/sqlite3/php_sqlite3.h
@@ -21,7 +21,7 @@
#ifndef PHP_SQLITE3_H
#define PHP_SQLITE3_H
-#define PHP_SQLITE3_VERSION "0.7-dev"
+#define PHP_SQLITE3_VERSION PHP_VERSION
extern zend_module_entry sqlite3_module_entry;
#define phpext_sqlite3_ptr &sqlite3_module_entry