From: Andrey Hristov Date: Mon, 9 May 2005 22:29:21 +0000 (+0000) Subject: mysqli won't compile with Zend2 API before 2001 - in these days there was X-Git-Tag: php-5.0.1b1~274 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b4464a2d6a1a1fe478c40963c7b9769ca696e899;p=php mysqli won't compile with Zend2 API before 2001 - in these days there was no Zend2 --- diff --git a/ext/mysqli/mysqli.c b/ext/mysqli/mysqli.c index 6dede24aa4..635bebe282 100644 --- a/ext/mysqli/mysqli.c +++ b/ext/mysqli/mysqli.c @@ -364,19 +364,15 @@ PHP_MYSQLI_EXPORT(zend_object_value) mysqli_objects_new(zend_class_entry *class_ /* {{{ mysqli_module_entry */ zend_module_entry mysqli_module_entry = { -#if ZEND_MODULE_API_NO >= 20010901 STANDARD_MODULE_HEADER, -#endif "mysqli", mysqli_functions, PHP_MINIT(mysqli), PHP_MSHUTDOWN(mysqli), - PHP_RINIT(mysqli), /* Replace with NULL if there's nothing to do at request start */ - PHP_RSHUTDOWN(mysqli), /* Replace with NULL if there's nothing to do at request end */ + PHP_RINIT(mysqli), + PHP_RSHUTDOWN(mysqli), PHP_MINFO(mysqli), -#if ZEND_MODULE_API_NO >= 20010901 "0.1", /* Replace with version number for your extension */ -#endif STANDARD_MODULE_PROPERTIES }; /* }}} */