aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2012-05-11 04:11:22 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2012-05-11 11:44:53 +0200
commit1f5a7cef6f2a101bbb7081ddca9f795aa6cbbff2 (patch)
tree2f9de4eb4fabba4546ce306779c1b58f2137be44 /src
parente6fd96f054718e47688a5cd46337393056d32cb7 (diff)
Fix version numbers of archive builds
Diffstat (limited to 'src')
-rw-r--r--src/version.h9
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