summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2009-07-19 23:33:50 (GMT)
committerFelipe Pena <felipe@php.net>2009-07-19 23:33:50 (GMT)
commit2507033c796daffd2836ab5255d3eae7150710f3 (patch)
tree80e95d03dec4c4a34da7cb499a7eedd0fffe2295
parent9f8ff2f96861a230dfb4e50a393411bba8c8940e (diff)
downloadphp-2507033c796daffd2836ab5255d3eae7150710f3.tar.gz
- Fixed bug #48980 (Crash when compiling with pdo_firebird)
-rw-r--r--ext/pdo_firebird/pdo_firebird.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/ext/pdo_firebird/pdo_firebird.c b/ext/pdo_firebird/pdo_firebird.c
index 0bc7073..274320d 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),