summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/src/xmake/prefix/version.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/src/xmake/prefix/version.h b/core/src/xmake/prefix/version.h
index 82d20e953..9c622ee53 100644
--- a/core/src/xmake/prefix/version.h
+++ b/core/src/xmake/prefix/version.h
@@ -47,6 +47,9 @@
#define XM_VERSION_BUILD XM_CONFIG_VERSION_BUILD
/// the build version string
+#ifndef XM_CONFIG_VERSION_BUILD
+# define XM_CONFIG_VERSION_BUILD 0
+#endif
#define XM_VERSION_BUILD_STRING __tb_mstring_ex__(XM_CONFIG_VERSION_BUILD)
/// the version string