summaryrefslogtreecommitdiff
path: root/ext/libxml/php_libxml.h
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2015-03-23 20:33:54 +0100
committerAnatol Belski <ab@php.net>2015-03-23 20:33:54 +0100
commit2d78023244eaa5ec60b1325e530150394d625fa8 (patch)
tree8c860ae1f6a44fa7bf7ae8e9f2406af91c1abe9c /ext/libxml/php_libxml.h
parentec89c85054e44a0d4ea85f62601405843cd05d5d (diff)
downloadphp-git-2d78023244eaa5ec60b1325e530150394d625fa8.tar.gz
cleanup the mod version macros, round 2
Diffstat (limited to 'ext/libxml/php_libxml.h')
-rw-r--r--ext/libxml/php_libxml.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/libxml/php_libxml.h b/ext/libxml/php_libxml.h
index 39a140c516..5a68a57494 100644
--- a/ext/libxml/php_libxml.h
+++ b/ext/libxml/php_libxml.h
@@ -26,6 +26,9 @@
extern zend_module_entry libxml_module_entry;
#define libxml_module_ptr &libxml_module_entry
+#include "php_version.h"
+#define PHP_LIBXML_VERSION PHP_VERSION
+
#ifdef PHP_WIN32
# define PHP_LIBXML_API __declspec(dllexport)
#elif defined(__GNUC__) && __GNUC__ >= 4