summaryrefslogtreecommitdiff
path: root/ext/libxml/php_libxml.h
diff options
context:
space:
mode:
authorGeorge Peter Banyard <girgias@php.net>2020-05-16 00:32:37 +0200
committerGeorge Peter Banyard <girgias@php.net>2020-05-16 15:31:23 +0200
commit35e0a91db717fe441a89ca9554d8843d8ee63112 (patch)
tree77f8e460373f9855fbd11b5fb571d48084e29d2d /ext/libxml/php_libxml.h
parent68164f40ce1909208cfa47fe9c2134718bd780a5 (diff)
downloadphp-git-35e0a91db717fe441a89ca9554d8843d8ee63112.tar.gz
Fix [-Wundef] warnings in libxml extension
Diffstat (limited to 'ext/libxml/php_libxml.h')
-rw-r--r--ext/libxml/php_libxml.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/libxml/php_libxml.h b/ext/libxml/php_libxml.h
index f913f956d5..85ffcd3969 100644
--- a/ext/libxml/php_libxml.h
+++ b/ext/libxml/php_libxml.h
@@ -18,7 +18,7 @@
#ifndef PHP_LIBXML_H
#define PHP_LIBXML_H
-#if HAVE_LIBXML
+#ifdef HAVE_LIBXML
extern zend_module_entry libxml_module_entry;
#define libxml_module_ptr &libxml_module_entry