]> granicus.if.org Git - php/commitdiff
- Fixed bug #48980 (Crash when compiling with pdo_firebird)
authorFelipe Pena <felipe@php.net>
Sun, 19 Jul 2009 23:33:50 +0000 (23:33 +0000)
committerFelipe Pena <felipe@php.net>
Sun, 19 Jul 2009 23:33:50 +0000 (23:33 +0000)
ext/pdo_firebird/pdo_firebird.c

index b70549c9bb16007fd5b9c303b956565a5f9af6a5..39a4f319134dfdb3b643d32c0d5af86d8432e8d0 100644 (file)
@@ -35,8 +35,23 @@ 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),