p2pool v3.6.1

pull/277/head v3.6.1
SChernykh 2023-09-01 12:39:07 +02:00
parent 7986321a52
commit fcf9d2ad15
2 changed files with 8 additions and 1 deletions

View File

@ -44,7 +44,13 @@ LOG_CATEGORY(Util)
namespace p2pool {
const char* VERSION = "v" STR2(P2POOL_VERSION_MAJOR) "." STR2(P2POOL_VERSION_MINOR) " (built"
#if defined(P2POOL_VERSION_PATCH) && (P2POOL_VERSION_PATCH > 0)
#define P2POOL_VERSION_PATCH_STR "." STR2(P2POOL_VERSION_PATCH)
#else
#define P2POOL_VERSION_PATCH_STR ""
#endif
const char* VERSION = "v" STR2(P2POOL_VERSION_MAJOR) "." STR2(P2POOL_VERSION_MINOR) P2POOL_VERSION_PATCH_STR " (built"
#if defined(__clang__)
" with clang/" __clang_version__
#elif defined(__GNUC__)

View File

@ -36,6 +36,7 @@ namespace p2pool {
#define P2POOL_VERSION_MAJOR 3
#define P2POOL_VERSION_MINOR 6
#define P2POOL_VERSION_PATCH 1
extern const char* VERSION;