From b4464a2d6a1a1fe478c40963c7b9769ca696e899 Mon Sep 17 00:00:00 2001 From: Andrey Hristov Date: Mon, 9 May 2005 22:29:21 +0000 Subject: [PATCH] mysqli won't compile with Zend2 API before 2001 - in these days there was no Zend2 --- ext/mysqli/mysqli.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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 }; /* }}} */ -- 2.50.1