From 1f4a670bd1546fd35b5a744e38bdb96a07ddb0cf Mon Sep 17 00:00:00 2001 From: v0lt Date: Sat, 30 Jan 2021 16:13:41 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A0=D0=B5=D0=BB=D0=B8=D0=B7=200.2.1.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/version.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/version.h b/src/version.h index b81f2fe..702fb03 100644 --- a/src/version.h +++ b/src/version.h @@ -17,12 +17,16 @@ #define DO_MAKE_STR(x) #x #define MAKE_STR(x) DO_MAKE_STR(x) -#define VER_RELEASE 0 +#define VER_RELEASE 1 #define VER_MAJOR 0 #define VER_MINOR 2 -#define VER_BUILD 0 +#define VER_BUILD 1 #define VERSION_NUM VER_MAJOR,VER_MINOR,VER_BUILD,REV_NUM +#if VER_RELEASE +#define VERSION_STR MAKE_STR(VER_MAJOR) "." MAKE_STR(VER_MINOR) "." MAKE_STR(VER_BUILD) +#else #define VERSION_STR MAKE_STR(VER_MAJOR) "." MAKE_STR(VER_MINOR) "." MAKE_STR(VER_BUILD) " N-" MAKE_STR(REV_NUM) +#endif #define VERSION_WSTR _CRT_WIDE(VERSION_STR)