diff options
author | Gregory Maxwell <gmaxwell@gmail.com> | 2012-05-11 08:29:47 -0700 |
---|---|---|
committer | Gregory Maxwell <gmaxwell@gmail.com> | 2012-05-11 08:29:47 -0700 |
commit | eb793429f12579c9d39129b4e3572b208aa03954 (patch) | |
tree | bf89f129094c1a34c9d4b90f0d466b6377fb30fb /src | |
parent | 271f9faf9e18b8e17eee6fa61b84663115863e74 (diff) | |
parent | 1f5a7cef6f2a101bbb7081ddca9f795aa6cbbff2 (diff) |
Merge pull request #1255 from sipa/fixversion
Fix version numbers of archive builds
Diffstat (limited to 'src')
-rw-r--r-- | src/version.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/version.h b/src/version.h index 423e885f93..7859fb2dcd 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 = 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 |