From: Anatol Belski Date: Tue, 15 Oct 2013 15:32:59 +0000 (+0200) Subject: fix version macros name X-Git-Tag: v0.5.0~46 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=a4c00b076141f01809e6fab6f9953188d6348812;p=m6w6%2Fext-pq fix version macros name --- diff --git a/php_pq.h b/php_pq.h index 7d4f7a1..be1a720 100644 --- a/php_pq.h +++ b/php_pq.h @@ -14,7 +14,7 @@ #ifndef PHP_PQ_H #define PHP_PQ_H -#define PHP_PQ_EXT_VERSION "0.4.0" +#define PHP_PQ_VERSION "0.4.0" int pq_module_number; zend_module_entry pq_module_entry; diff --git a/src/php_pq_module.c b/src/php_pq_module.c index cb7a4e9..057bdee 100644 --- a/src/php_pq_module.c +++ b/src/php_pq_module.c @@ -100,7 +100,7 @@ static PHP_MINFO_FUNCTION(pq) php_info_print_table_start(); php_info_print_table_header(2, "PQ Support", "enabled"); - php_info_print_table_row(2, "Extension Version", PHP_PQ_EXT_VERSION); + php_info_print_table_row(2, "Extension Version", PHP_PQ_VERSION); php_info_print_table_end(); php_info_print_table_start(); @@ -134,7 +134,7 @@ zend_module_entry pq_module_entry = { NULL,/*PHP_RINIT(pq),*/ NULL,/*PHP_RSHUTDOWN(pq),*/ PHP_MINFO(pq), - PHP_PQ_EXT_VERSION, + PHP_PQ_VERSION, STANDARD_MODULE_PROPERTIES };