瀏覽代碼

rename PHP_XLS_WRITER_VERSION to PHP_XLSWRITER_VERSION

Remi Collet 7 年之前
父節點
當前提交
1b4c292a7b
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 1 1
      php_xls_writer.h
  2. 3 3
      xls_writer.c

+ 1 - 1
php_xls_writer.h

@@ -18,7 +18,7 @@
 extern zend_module_entry xlswriter_module_entry;
 #define phpext_xlswriter_ptr &xlswriter_module_entry
 
-#define PHP_XLS_WRITER_VERSION "1.0.0"
+#define PHP_XLSWRITER_VERSION "1.0.0"
 
 #ifdef PHP_WIN32
 #	define PHP_VTIFUL_API __declspec(dllexport)

+ 3 - 3
xls_writer.c

@@ -69,8 +69,8 @@ PHP_MINFO_FUNCTION(xlswriter)
 {
 	php_info_print_table_start();
 	php_info_print_table_header(2, "xlswriter support", "enabled");
-#if defined(PHP_XLS_WRITER_VERSION)
-    php_info_print_table_row(2, "Version", PHP_XLS_WRITER_VERSION);
+#if defined(PHP_XLSWRITER_VERSION)
+    php_info_print_table_row(2, "Version", PHP_XLSWRITER_VERSION);
 #endif
 	php_info_print_table_end();
 }
@@ -96,7 +96,7 @@ zend_module_entry xlswriter_module_entry = {
 	PHP_RINIT(xlswriter),		/* Replace with NULL if there's nothing to do at request start */
 	PHP_RSHUTDOWN(xlswriter),	/* Replace with NULL if there's nothing to do at request end */
 	PHP_MINFO(xlswriter),
-	PHP_XLS_WRITER_VERSION,
+	PHP_XLSWRITER_VERSION,
 	STANDARD_MODULE_PROPERTIES
 };
 /* }}} */