summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2017-08-25 09:53:22 +0800
committerruki <[email protected]>2017-08-25 09:53:22 +0800
commit6c6f1d80d707aa31c88281e11482fb65b0bdac89 (patch)
tree03c0f592e00c3f58a095c6fcee8686eb17779de8
parent46412a833ebce57a3045e240566758d45255a900 (diff)
improve tbox version
-rw-r--r--core/src/tbox/src/tbox/prefix/version.h3
1 files changed, 3 insertions, 0 deletions
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