From c0290d4a17a28346443bc533ed0b4b56042c199a Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Tue, 15 Oct 2013 17:42:02 +0200 Subject: [PATCH] fix version macros name --- php_v8js_macros.h | 2 +- v8js.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/php_v8js_macros.h b/php_v8js_macros.h index f180ae3..48af9a5 100644 --- a/php_v8js_macros.h +++ b/php_v8js_macros.h @@ -32,7 +32,7 @@ extern "C" { #include /* V8Js Version */ -#define V8JS_VERSION "0.1.3" +#define PHP_V8JS_VERSION "0.1.3" /* Helper macros */ #define V8JS_SYM(v) v8::String::NewSymbol(v, sizeof(v) - 1) diff --git a/v8js.cc b/v8js.cc index 0204c5f..bec16f1 100644 --- a/v8js.cc +++ b/v8js.cc @@ -1497,7 +1497,7 @@ static PHP_MINFO_FUNCTION(v8js) php_info_print_table_header(2, "V8 Javascript Engine", "enabled"); php_info_print_table_header(2, "V8 Engine Compiled Version", PHP_V8_VERSION); php_info_print_table_header(2, "V8 Engine Linked Version", v8::V8::GetVersion()); - php_info_print_table_header(2, "Version", V8JS_VERSION); + php_info_print_table_header(2, "Version", PHP_V8JS_VERSION); php_info_print_table_end(); DISPLAY_INI_ENTRIES(); @@ -1536,7 +1536,7 @@ zend_module_entry v8js_module_entry = { NULL, PHP_RSHUTDOWN(v8js), PHP_MINFO(v8js), - V8JS_VERSION, + PHP_V8JS_VERSION, PHP_MODULE_GLOBALS(v8js), PHP_GINIT(v8js), NULL,