File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 27
27
#include "ext/standard/info.h"
28
28
#include "ext/standard/file.h"
29
29
30
- #if HAVE_LIBXML
30
+ #ifdef HAVE_LIBXML
31
31
32
32
#include <libxml/parser.h>
33
33
#include <libxml/parserInternals.h>
@@ -714,7 +714,7 @@ PHP_LIBXML_API void php_libxml_initialize(void)
714
714
PHP_LIBXML_API void php_libxml_shutdown (void )
715
715
{
716
716
if (_php_libxml_initialized ) {
717
- #if defined( LIBXML_SCHEMAS_ENABLED )
717
+ #ifdef LIBXML_SCHEMAS_ENABLED
718
718
xmlRelaxNGCleanupTypes ();
719
719
#endif
720
720
/* xmlCleanupParser(); */
@@ -767,7 +767,7 @@ static PHP_MINIT_FUNCTION(libxml)
767
767
REGISTER_LONG_CONSTANT ("LIBXML_NOEMPTYTAG" , LIBXML_SAVE_NOEMPTYTAG , CONST_CS | CONST_PERSISTENT );
768
768
769
769
/* Schema validation options */
770
- #if defined( LIBXML_SCHEMAS_ENABLED )
770
+ #ifdef LIBXML_SCHEMAS_ENABLED
771
771
REGISTER_LONG_CONSTANT ("LIBXML_SCHEMA_CREATE" , XML_SCHEMA_VAL_VC_I_CREATE , CONST_CS | CONST_PERSISTENT );
772
772
#endif
773
773
Original file line number Diff line number Diff line change 18
18
#ifndef PHP_LIBXML_H
19
19
#define PHP_LIBXML_H
20
20
21
- #if HAVE_LIBXML
21
+ #ifdef HAVE_LIBXML
22
22
extern zend_module_entry libxml_module_entry ;
23
23
#define libxml_module_ptr &libxml_module_entry
24
24
You can’t perform that action at this time.
0 commit comments