Browse Source

- Make this compatible with 5.0/1 again

migration/RELEASE_1_0_0
Marcus Boerger 20 years ago
parent
commit
e583cd31e7
  1. 4
      ext/xmlwriter/php_xmlwriter.c

4
ext/xmlwriter/php_xmlwriter.c

@ -174,6 +174,10 @@ static zend_function_entry xmlwriter_functions[] = {
/* }}} */
#ifdef ZEND_ENGINE_2
#if (PHP_MINOR_VERSION < 2) && (PHP_MAJOR_VERSION == 5)
#undef PHP_ME_MAPPING
#define PHP_ME_MAPPING(name, func_name, arg_types, flags) ZEND_ME_MAPPING(name, func_name, arg_types)
#endif
/* {{{ xmlwriter_class_functions */
static zend_function_entry xmlwriter_class_functions[] = {
PHP_ME_MAPPING(openUri, xmlwriter_open_uri, NULL, 0)

Loading…
Cancel
Save