From fb0902143291c8b605997a6b2a8f8717289a44d1 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Thu, 12 Oct 2017 15:37:47 +0200 Subject: 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. --- ext/enchant/php_enchant.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/enchant/php_enchant.h') 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) -- cgit v1.2.1