diff options
| author | Marcus Boerger <helly@php.net> | 2005-06-23 00:19:16 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2005-06-23 00:19:16 +0000 |
| commit | 5cf2c9dc454261d55085826ef7865921cd894053 (patch) | |
| tree | 7594a01966b831cbe13780a7a7ca32d6d5578eee /ext/pdo_pgsql/pdo_pgsql.c | |
| parent | 6553a4c7e23bcc47b71dc10040ebfab4789b96f7 (diff) | |
| download | php-git-5cf2c9dc454261d55085826ef7865921cd894053.tar.gz | |
- 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.
Diffstat (limited to 'ext/pdo_pgsql/pdo_pgsql.c')
| -rw-r--r-- | ext/pdo_pgsql/pdo_pgsql.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ext/pdo_pgsql/pdo_pgsql.c b/ext/pdo_pgsql/pdo_pgsql.c index d48bafc5c9..ad2d3fa190 100644 --- a/ext/pdo_pgsql/pdo_pgsql.c +++ b/ext/pdo_pgsql/pdo_pgsql.c @@ -36,9 +36,24 @@ function_entry pdo_pgsql_functions[] = { }; /* }}} */ +/* {{{ pdo_sqlite_deps + */ +#if ZEND_EXTENSION_API_NO >= 220050617 +static zend_module_dep pdo_pgsql_deps[] = { + ZEND_MOD_REQUIRED("pdo") + {NULL, NULL, NULL} +}; +#endif +/* }}} */ + /* {{{ pdo_pgsql_module_entry */ zend_module_entry pdo_pgsql_module_entry = { +#if ZEND_EXTENSION_API_NO >= 220050617 + STANDARD_MODULE_HEADER_EX, NULL, + pdo_pgsql_deps, +#else STANDARD_MODULE_HEADER, +#endif "pdo_pgsql", pdo_pgsql_functions, PHP_MINIT(pdo_pgsql), |
