From 6c6f1d80d707aa31c88281e11482fb65b0bdac89 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 25 Aug 2017 09:53:22 +0800 Subject: improve tbox version --- core/src/tbox/src/tbox/prefix/version.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/src/tbox/src/tbox/prefix/version.h b/core/src/tbox/src/tbox/prefix/version.h index e03f280e6..fe989c2d5 100644 --- a/core/src/tbox/src/tbox/prefix/version.h +++ b/core/src/tbox/src/tbox/prefix/version.h @@ -48,6 +48,9 @@ #define TB_VERSION_BUILD TB_CONFIG_VERSION_BUILD /// the build version string +#ifndef TB_CONFIG_VERSION_BUILD +# define TB_CONFIG_VERSION_BUILD 0 +#endif #define TB_VERSION_BUILD_STRING __tb_mstring_ex__(TB_CONFIG_VERSION_BUILD) /// the version string -- cgit v1.3.1