summaryrefslogtreecommitdiff
path: root/ext/tidy/php_tidy.h
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2015-03-23 21:30:22 +0100
committerAnatol Belski <ab@php.net>2015-03-23 21:30:22 +0100
commit663074b6b1fa4534fbbb65462aeef40f2c983ad5 (patch)
treeeea8e6fa4c9aa305c12548dfda6d8f36f5c2957f /ext/tidy/php_tidy.h
parent19360f386ec3e78f7f57f9e943569410dc2f718f (diff)
downloadphp-git-663074b6b1fa4534fbbb65462aeef40f2c983ad5.tar.gz
cleanup mod version macros and mod defs, round x
Diffstat (limited to 'ext/tidy/php_tidy.h')
-rw-r--r--ext/tidy/php_tidy.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/tidy/php_tidy.h b/ext/tidy/php_tidy.h
index 8f4ecf8750..76d42e4566 100644
--- a/ext/tidy/php_tidy.h
+++ b/ext/tidy/php_tidy.h
@@ -24,6 +24,9 @@
extern zend_module_entry tidy_module_entry;
#define phpext_tidy_ptr &tidy_module_entry
+#include "php_version.h"
+#define PHP_TIDY_VERSION PHP_VERSION
+
#define TIDY_METHOD_MAP(name, func_name, arg_types) \
ZEND_NAMED_FE(name, ZEND_FN(func_name), arg_types)
#define TIDY_NODE_METHOD(name) PHP_FUNCTION(tnm_ ##name)