]> granicus.if.org Git - php/commitdiff
add missing ifdef
authorAntony Dovgal <tony2001@php.net>
Wed, 4 Oct 2006 13:30:41 +0000 (13:30 +0000)
committerAntony Dovgal <tony2001@php.net>
Wed, 4 Oct 2006 13:30:41 +0000 (13:30 +0000)
ext/xmlreader/php_xmlreader.c

index c41429c5975d3e0bd4492015ceda4c791daa07d2..2c7c054b11016efa0ec78d2909048590ddf67a78 100644 (file)
@@ -469,6 +469,7 @@ static void php_xmlreader_no_arg(INTERNAL_FUNCTION_PARAMETERS, xmlreader_read_in
 }
 /* }}} */
 
+#if LIBXML_VERSION >= 20620
 /* {{{ php_xmlreader_no_arg_string */
 static void php_xmlreader_no_arg_string(INTERNAL_FUNCTION_PARAMETERS, xmlreader_read_char_t internal_function) {
        zval *id;
@@ -490,6 +491,7 @@ static void php_xmlreader_no_arg_string(INTERNAL_FUNCTION_PARAMETERS, xmlreader_
        }
 }
 /* }}} */
+#endif
 
 /* {{{ php_xmlreader_set_relaxng_schema */
 static void php_xmlreader_set_relaxng_schema(INTERNAL_FUNCTION_PARAMETERS, int type) {