From: Felipe Pena Date: Sun, 19 Jul 2009 23:33:50 +0000 (+0000) Subject: - Fixed bug #48980 (Crash when compiling with pdo_firebird) X-Git-Tag: php-5.4.0alpha1~191^2~3046 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9aeb92f2fb2393933b6e58bc12afadfe7a18b36f;p=php - Fixed bug #48980 (Crash when compiling with pdo_firebird) --- diff --git a/ext/pdo_firebird/pdo_firebird.c b/ext/pdo_firebird/pdo_firebird.c index 6aa242caee..51990192e7 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),