summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre.h
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2015-03-23 20:54:55 +0100
committerAnatol Belski <ab@php.net>2015-03-23 20:54:55 +0100
commit19360f386ec3e78f7f57f9e943569410dc2f718f (patch)
tree66a8740389d7e9e161de12088f7fa36c96ea80b8 /ext/pcre/php_pcre.h
parent2d78023244eaa5ec60b1325e530150394d625fa8 (diff)
downloadphp-git-19360f386ec3e78f7f57f9e943569410dc2f718f.tar.gz
cleanup mod version macros, round 3
Diffstat (limited to 'ext/pcre/php_pcre.h')
-rw-r--r--ext/pcre/php_pcre.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/pcre/php_pcre.h b/ext/pcre/php_pcre.h
index 88f810493f..98882cce4e 100644
--- a/ext/pcre/php_pcre.h
+++ b/ext/pcre/php_pcre.h
@@ -40,6 +40,9 @@ PHPAPI pcre* pcre_get_compiled_regex_ex(zend_string *regex, pcre_extra **extra,
extern zend_module_entry pcre_module_entry;
#define pcre_module_ptr &pcre_module_entry
+#include "php_version.h"
+#define PHP_PCRE_VERSION PHP_VERSION
+
typedef struct {
pcre *re;
pcre_extra *extra;