summaryrefslogtreecommitdiff
path: root/ext/enchant/php_enchant.h
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2017-10-12 15:37:47 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2017-10-15 13:19:17 +0200
commitfb0902143291c8b605997a6b2a8f8717289a44d1 (patch)
tree5c0ad7454d09641885f5d81f4ae6fff66ee9e11e /ext/enchant/php_enchant.h
parent816758eda2bcdd69ba505fb6bbb79124a7bf2254 (diff)
downloadphp-git-fb0902143291c8b605997a6b2a8f8717289a44d1.tar.gz
Fixed bug #75365 (Enchant still reports version 1.1.0)
Since Enchant is bundled, we make `PHP_ENCHANT_VERSION` an alias of `PHP_VERSION` and also drop the rather meaningless revision hash from the PHP info.
Diffstat (limited to 'ext/enchant/php_enchant.h')
-rw-r--r--ext/enchant/php_enchant.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/enchant/php_enchant.h b/ext/enchant/php_enchant.h
index 731bf2c467..a4d83fa41e 100644
--- a/ext/enchant/php_enchant.h
+++ b/ext/enchant/php_enchant.h
@@ -24,7 +24,7 @@
extern zend_module_entry enchant_module_entry;
#define phpext_enchant_ptr &enchant_module_entry
-#define PHP_ENCHANT_VERSION "1.1.0"
+#define PHP_ENCHANT_VERSION PHP_VERSION
#ifdef PHP_WIN32
#define PHP_ENCHANT_API __declspec(dllexport)