Skip to content

Commit

Permalink
p2pool v3.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
SChernykh committed Sep 1, 2023
1 parent 7986321 commit fcf9d2a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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__)
Expand Down
1 change: 1 addition & 0 deletions src/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit fcf9d2a

Please sign in to comment.