mirror of
https://github.com/php/php-src.git
synced 2025-08-17 22:48:57 +02:00
- create LIBXML_VERSION and LIBXML_DOTTED_VERSION constants
This commit is contained in:
parent
401f813383
commit
4901a8e2b8
1 changed files with 2 additions and 0 deletions
|
@ -530,6 +530,8 @@ PHP_MINIT_FUNCTION(libxml)
|
||||||
LIBXML(error_buffer).c = NULL;
|
LIBXML(error_buffer).c = NULL;
|
||||||
LIBXML(error_list) = NULL;
|
LIBXML(error_list) = NULL;
|
||||||
#endif
|
#endif
|
||||||
|
REGISTER_LONG_CONSTANT("LIBXML_VERSION", LIBXML_VERSION, CONST_CS | CONST_PERSISTENT);
|
||||||
|
REGISTER_STRING_CONSTANT("LIBXML_DOTTED_VERSION", LIBXML_DOTTED_VERSION, CONST_CS | CONST_PERSISTENT);
|
||||||
|
|
||||||
#if LIBXML_VERSION >= 20600
|
#if LIBXML_VERSION >= 20600
|
||||||
/* For use with loading xml */
|
/* For use with loading xml */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue