Skip to content

Commit

Permalink
Релиз 0.2.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
v0lt committed Jan 30, 2021
1 parent 11d3c7e commit 1f4a670
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 1f4a670

Please sign in to comment.