aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGregory Maxwell <[email protected]>2012-05-11 08:29:47 -0700
committerGregory Maxwell <[email protected]>2012-05-11 08:29:47 -0700
commiteb793429f12579c9d39129b4e3572b208aa03954 (patch)
treebf89f129094c1a34c9d4b90f0d466b6377fb30fb /src
parentMerge pull request #1254 from jgarzik/mempool-logging (diff)
parentFix version numbers of archive builds (diff)
downloaddiscoin-eb793429f12579c9d39129b4e3572b208aa03954.tar.xz
discoin-eb793429f12579c9d39129b4e3572b208aa03954.zip
Merge pull request #1255 from sipa/fixversion
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 423e885f9..7859fb2dc 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