From: Pieter Wuille Date: Fri, 11 May 2012 02:11:22 +0000 (+0200) Subject: Fix version numbers of archive builds X-Git-Tag: v0.4.0-unstable~129^2~1^2~8 X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=commitdiff_plain;h=7532c476fe5ce004112dd501b4707578ab5f3432 Fix version numbers of archive builds --- diff --git a/src/version.h b/src/version.h index 7cf82c3..b54531f 100644 --- a/src/version.h +++ b/src/version.h @@ -10,10 +10,11 @@ // client versioning // -static const int CLIENT_VERSION_MAJOR = 0; -static const int CLIENT_VERSION_MINOR = 6; -static const int CLIENT_VERSION_REVISION = 2; -static const int CLIENT_VERSION_BUILD = 2; +// These need to be macro's, as version.cpp's voodoo requires it +#define CLIENT_VERSION_MAJOR 0 +#define CLIENT_VERSION_MINOR 6 +#define CLIENT_VERSION_REVISION 2 +#define CLIENT_VERSION_BUILD 2 static const int CLIENT_VERSION = 1000000 * CLIENT_VERSION_MAJOR