Skip to content

Commit eb79342

Browse files
committed
Merge pull request #1255 from sipa/fixversion
Fix version numbers of archive builds
2 parents 271f9fa + 1f5a7ce commit eb79342

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/version.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@
1010
// client versioning
1111
//
1212

13-
static const int CLIENT_VERSION_MAJOR = 0;
14-
static const int CLIENT_VERSION_MINOR = 6;
15-
static const int CLIENT_VERSION_REVISION = 99;
16-
static const int CLIENT_VERSION_BUILD = 0;
13+
// These need to be macro's, as version.cpp's voodoo requires it
14+
#define CLIENT_VERSION_MAJOR 0
15+
#define CLIENT_VERSION_MINOR 6
16+
#define CLIENT_VERSION_REVISION 99
17+
#define CLIENT_VERSION_BUILD 0
1718

1819
static const int CLIENT_VERSION =
1920
1000000 * CLIENT_VERSION_MAJOR

0 commit comments

Comments
 (0)