diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2016-03-06 19:05:27 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2016-03-22 18:41:09 +0100 |
commit | 81b449908e5af7c0873345f85edd5c634ecbce24 (patch) | |
tree | 29dfed05dd6f5e7a680b5f91a900b10afe85b254 /core | |
parent | e8ee4f79734af75cb04c3220f83e8735d28dd6e7 (diff) |
Add support for patch versions (2.0.x)
(cherry picked from commit 706d576f7b24ec62effd59f66f1d7c47c813056b)
Diffstat (limited to 'core')
-rw-r--r-- | core/typedefs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/typedefs.h b/core/typedefs.h index 5047644692..6f9bb58958 100644 --- a/core/typedefs.h +++ b/core/typedefs.h @@ -41,7 +41,11 @@ #define _MKSTR(m_x) _STR(m_x) #endif // have to include version.h for this to work, include it in the .cpp not the .h +#ifdef VERSION_PATCH +#define VERSION_MKSTRING _MKSTR(VERSION_MAJOR)"." _MKSTR(VERSION_MINOR)"." _MKSTR(VERSION_PATCH)"." _MKSTR(VERSION_STATUS)"." _MKSTR(VERSION_REVISION) +#else #define VERSION_MKSTRING _MKSTR(VERSION_MAJOR)"." _MKSTR(VERSION_MINOR)"." _MKSTR(VERSION_STATUS)"." _MKSTR(VERSION_REVISION) +#endif // VERSION_PATCH #define VERSION_FULL_NAME _MKSTR(VERSION_NAME)" v" VERSION_MKSTRING |