From 95e67e1310189ada3b5c48ab7b347ef3e7035890 Mon Sep 17 00:00:00 2001 From: Yoshihiro Yamazaki Date: Sun, 22 Nov 2015 10:33:44 +0900 Subject: [PATCH] =?utf8?q?SWF=5FVERSION=20=E3=82=92=20PHP=5FSWF=5FVERSION?= =?utf8?q?=20=E3=81=AB=E6=94=B9=E5=90=8D=E3=81=97=E3=81=A6=E3=83=98?= =?utf8?q?=E3=83=83=E3=83=80=E3=83=95=E3=82=A1=E3=82=A4=E3=83=AB=E3=81=AB?= =?utf8?q?=E7=A7=BB=E5=8B=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/php_swfed.c | 6 ++---- src/php_swfed.h | 2 ++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/php_swfed.c b/src/php_swfed.c index 0227376..be285dd 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.65a" - #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.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