mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
- Add +ifdefs to still allow PHP 5.0 builds of PDO
# PDO is a PECL extension and at the moment is still meant to compile on # both PHP 5.0 and PHP 5.1.
This commit is contained in:
parent
6553a4c7e2
commit
5cf2c9dc45
4 changed files with 33 additions and 1 deletions
|
@ -41,17 +41,23 @@ function_entry pdo_sqlite_functions[] = {
|
|||
|
||||
/* {{{ pdo_sqlite_deps
|
||||
*/
|
||||
#if ZEND_EXTENSION_API_NO >= 220050617
|
||||
static zend_module_dep pdo_sqlite_deps[] = {
|
||||
ZEND_MOD_REQUIRED("pdo")
|
||||
{NULL, NULL, NULL}
|
||||
};
|
||||
#endif
|
||||
/* }}} */
|
||||
|
||||
/* {{{ pdo_sqlite_module_entry
|
||||
*/
|
||||
zend_module_entry pdo_sqlite_module_entry = {
|
||||
#if ZEND_EXTENSION_API_NO >= 220050617
|
||||
STANDARD_MODULE_HEADER_EX, NULL,
|
||||
pdo_sqlite_deps,
|
||||
#else
|
||||
STANDARD_MODULE_HEADER,
|
||||
#endif
|
||||
"pdo_sqlite",
|
||||
pdo_sqlite_functions,
|
||||
PHP_MINIT(pdo_sqlite),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue