diff options
author | Felipe Pena <felipe@php.net> | 2009-07-19 23:33:50 +0000 |
---|---|---|
committer | Felipe Pena <felipe@php.net> | 2009-07-19 23:33:50 +0000 |
commit | 2507033c796daffd2836ab5255d3eae7150710f3 (patch) | |
tree | 80e95d03dec4c4a34da7cb499a7eedd0fffe2295 /ext/pdo_firebird/pdo_firebird.c | |
parent | 9f8ff2f96861a230dfb4e50a393411bba8c8940e (diff) | |
download | php-git-2507033c796daffd2836ab5255d3eae7150710f3.tar.gz |
- Fixed bug #48980 (Crash when compiling with pdo_firebird)
Diffstat (limited to 'ext/pdo_firebird/pdo_firebird.c')
-rw-r--r-- | ext/pdo_firebird/pdo_firebird.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ext/pdo_firebird/pdo_firebird.c b/ext/pdo_firebird/pdo_firebird.c index 0bc7073e13..274320d755 100644 --- a/ext/pdo_firebird/pdo_firebird.c +++ b/ext/pdo_firebird/pdo_firebird.c @@ -35,8 +35,23 @@ const zend_function_entry pdo_firebird_functions[] = { /* {{{ */ }; /* }}} */ +/* {{{ pdo_firebird_deps + */ +#if ZEND_MODULE_API_NO >= 20050922 +static const zend_module_dep pdo_firebird_deps[] = { + ZEND_MOD_REQUIRED("pdo") + {NULL, NULL, NULL} +}; +#endif +/* }}} */ + zend_module_entry pdo_firebird_module_entry = { /* {{{ */ +#if ZEND_MODULE_API_NO >= 20050922 + STANDARD_MODULE_HEADER_EX, NULL, + pdo_firebird_deps, +#else STANDARD_MODULE_HEADER, +#endif "PDO_Firebird", pdo_firebird_functions, PHP_MINIT(pdo_firebird), |