Mercurial > hg > bitcoin
changeset 2491:1a8ec9ad0a62 draft
Merge pull request #1255 from sipa/fixversion
Fix version numbers of archive builds
author | Gregory Maxwell <gmaxwell@gmail.com> |
---|---|
date | Fri, 11 May 2012 08:29:47 -0700 |
parents | 5398b6f096b0 (current diff) 4dafe54ef012 (diff) |
children | 343e76e622f9 |
files | |
diffstat | 1 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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 = 99; -static const int CLIENT_VERSION_BUILD = 0; +// 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 99 +#define CLIENT_VERSION_BUILD 0 static const int CLIENT_VERSION = 1000000 * CLIENT_VERSION_MAJOR