diff --git a/php_xfilter.h b/php_xfilter.h index 5a9c055..a8c4e55 100644 --- a/php_xfilter.h +++ b/php_xfilter.h @@ -27,18 +27,10 @@ extern zend_module_entry xfilter_module_entry; #define phpext_xfilter_ptr &xfilter_module_entry -#define PHP_XFILTER_VERSION "0.1.0" /* Replace with version number for your extension */ +#define PHP_XFILTER_VERSION "1.0.0-rc" #define KEYWORD_MAX_LEN 1024 -#ifdef PHP_WIN32 -# define PHP_XFILTER_API __declspec(dllexport) -#elif defined(__GNUC__) && __GNUC__ >= 4 -# define PHP_XFILTER_API __attribute__ ((visibility("default"))) -#else -# define PHP_XFILTER_API -#endif - #ifdef ZTS #include "TSRM.h" #endif diff --git a/xfilter.c b/xfilter.c index 2b76f37..f9b7a2e 100644 --- a/xfilter.c +++ b/xfilter.c @@ -329,6 +329,8 @@ PHP_MINFO_FUNCTION(xfilter) { php_info_print_table_start(); php_info_print_table_header(2, "xfilter support", "enabled"); + php_info_print_table_row(2, "Version", PHP_XFILTER_VERSION); + php_info_print_table_end(); DISPLAY_INI_ENTRIES();