From f48ee2be7fd07ccc880e9ca68e0de9a07ff52763 Mon Sep 17 00:00:00 2001 From: Yoya Date: Wed, 19 Oct 2016 00:21:27 +0900 Subject: [PATCH] =?utf8?q?https://osdn.net/projects/swfed/scm/git/swfed/co?= =?utf8?q?mmits/95e67e1310189ada3b5c48ab7b347ef3e7035890=20SWF=5FVERSION?= =?utf8?q?=20=E3=82=92=20PHP=5FSWF=5FVERSION=20=E3=81=AB=E6=94=B9=E5=90=8D?= =?utf8?q?=E3=81=97=E3=81=A6=E3=83=98=E3=83=83=E3=83=80=E3=83=95=E3=82=A1?= =?utf8?q?=E3=82=A4=E3=83=AB=E3=81=AB=E7=A7=BB=E5=8B=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/php5_swfed.c | 6 ++---- src/php_swfed.c | 6 ++---- src/php_swfed.h | 2 ++ 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/php5_swfed.c b/src/php5_swfed.c index d795f8d..be285dd 100644 --- a/src/php5_swfed.c +++ b/src/php5_swfed.c @@ -42,8 +42,6 @@ #include "swf_tag.h" #include "swf_object.h" -#define SWFED_VERSION "0.64a" - #define get_zend_hash_value_long(table, key, value) do { \ zval **tmp = NULL; \ if (zend_hash_find(table, key, sizeof(key), (void**)&tmp) == SUCCESS) { \ @@ -151,7 +149,7 @@ zend_module_entry swfed_module_entry = { PHP_RSHUTDOWN(swfed), /* Replace with NULL if there's nothing to do at request end */ PHP_MINFO(swfed), #if ZEND_MODULE_API_NO >= 20010901 - SWFED_VERSION, /* Replace with version number for your extension */ + PHP_SWFED_VERSION, #endif STANDARD_MODULE_PROPERTIES }; @@ -249,7 +247,7 @@ PHP_MINFO_FUNCTION(swfed) int png_support = 0; php_info_print_table_start(); php_info_print_table_header(2, "SWF Editor support", "enabled"); - php_info_print_table_row(2, "SWF Editor version", SWFED_VERSION); + php_info_print_table_row(2, "SWF Editor version", PHP_SWFED_VERSION); #ifdef HAVE_PNG png_support = 1; #endif diff --git a/src/php_swfed.c b/src/php_swfed.c index 193aae4..4281739 100644 --- a/src/php_swfed.c +++ b/src/php_swfed.c @@ -42,8 +42,6 @@ #include "swf_tag.h" #include "swf_object.h" -#define SWFED_VERSION "0.64a" - #define get_zend_hash_value_long(table, key, value) do { \ zval *tmp = NULL; \ if ((tmp = zend_hash_str_find(table, ZEND_STRL(key))) != NULL) { \ @@ -151,7 +149,7 @@ zend_module_entry swfed_module_entry = { PHP_RSHUTDOWN(swfed), /* Replace with NULL if there's nothing to do at request end */ PHP_MINFO(swfed), #if ZEND_MODULE_API_NO >= 20010901 - SWFED_VERSION, /* Replace with version number for your extension */ + PHP_SWFED_VERSION, #endif STANDARD_MODULE_PROPERTIES }; @@ -250,7 +248,7 @@ PHP_MINFO_FUNCTION(swfed) int png_support = 0; php_info_print_table_start(); php_info_print_table_header(2, "SWF Editor support", "enabled"); - php_info_print_table_row(2, "SWF Editor version", SWFED_VERSION); + php_info_print_table_row(2, "SWF Editor version", PHP_SWFED_VERSION); #ifdef HAVE_PNG png_support = 1; #endif diff --git a/src/php_swfed.h b/src/php_swfed.h index 6c8da98..86170e8 100644 --- a/src/php_swfed.h +++ b/src/php_swfed.h @@ -24,6 +24,8 @@ extern zend_module_entry swfed_module_entry; #define phpext_swfed_ptr &swfed_module_entry +#define PHP_SWFED_VERSION "0.65a" /* Replace with version number for your extention */ + #ifdef PHP_WIN32 #define PHP_SWFED_API __declspec(dllexport) #else -- 2.11.0