summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
Diffstat (limited to 'core/src')
-rw-r--r--core/src/xmake/machine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/xmake/machine.c b/core/src/xmake/machine.c
index 02334ba9b..9c9cccec9 100644
--- a/core/src/xmake/machine.c
+++ b/core/src/xmake/machine.c
@@ -579,7 +579,7 @@ xm_machine_ref_t xm_machine_init()
// init version string
tb_char_t version_cstr[256] = {0};
- tb_snprintf(version_cstr, sizeof(version_cstr), "%u.%u.%u.%llu", version->major, version->minor, version->alter, version->build);
+ tb_snprintf(version_cstr, sizeof(version_cstr), "%u.%u.%u+%llu", version->major, version->minor, version->alter, version->build);
lua_pushstring(machine->lua, version_cstr);
lua_setglobal(machine->lua, "_VERSION");