Fix version numbers of archive builds
authorPieter Wuille <pieter.wuille@gmail.com>
Fri, 11 May 2012 02:11:22 +0000 (04:11 +0200)
committerLuke Dashjr <luke-jr+git@utopios.org>
Tue, 15 May 2012 08:00:04 +0000 (08:00 +0000)
src/version.h

index 7cf82c3..b54531f 100644 (file)
 // 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