diff options
author | Rob Richards <rrichards@php.net> | 2005-02-23 11:25:32 +0000 |
---|---|---|
committer | Rob Richards <rrichards@php.net> | 2005-02-23 11:25:32 +0000 |
commit | 69660235640b1de5cb659e9bac3dd1f911f7c8ae (patch) | |
tree | 4ff48656a8347594914779d626cfbd9afdc2d9ce /ext/xmlwriter/php_xmlwriter.h | |
parent | db3fdce304a9ba026f355fb3d03e9d2eb45cda5d (diff) | |
download | php-git-69660235640b1de5cb659e9bac3dd1f911f7c8ae.tar.gz |
fix libxml versions for comments
Diffstat (limited to 'ext/xmlwriter/php_xmlwriter.h')
-rw-r--r-- | ext/xmlwriter/php_xmlwriter.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/ext/xmlwriter/php_xmlwriter.h b/ext/xmlwriter/php_xmlwriter.h index 57a09c5f96..a38997c989 100644 --- a/ext/xmlwriter/php_xmlwriter.h +++ b/ext/xmlwriter/php_xmlwriter.h @@ -51,7 +51,7 @@ PHP_FUNCTION(xmlwriter_start_attribute); PHP_FUNCTION(xmlwriter_end_attribute); PHP_FUNCTION(xmlwriter_start_attribute_ns); PHP_FUNCTION(xmlwriter_write_attribute); -#if LIBXML_VERSION >= 20617 +#if LIBXML_VERSION > 20617 PHP_FUNCTION(xmlwriter_write_attribute_ns); #endif PHP_FUNCTION(xmlwriter_start_element); @@ -68,12 +68,11 @@ PHP_FUNCTION(xmlwriter_write_cdata); PHP_FUNCTION(xmlwriter_text); PHP_FUNCTION(xmlwriter_start_document); PHP_FUNCTION(xmlwriter_end_document); -#if LIBXML_VERSION >= 20616 -PHP_FUNCTION(xmlwriter_write_comment); +#if LIBXML_VERSION >= 20607 PHP_FUNCTION(xmlwriter_start_comment); -#endif PHP_FUNCTION(xmlwriter_end_comment); - +#endif +PHP_FUNCTION(xmlwriter_write_comment); PHP_FUNCTION(xmlwriter_start_dtd); PHP_FUNCTION(xmlwriter_end_dtd); PHP_FUNCTION(xmlwriter_write_dtd); |