1 // Copyright (c) 2009-2014 The Bitcoin developers
2 // Distributed under the MIT/X11 software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
5 #ifndef CLIENTVERSION_H
6 #define CLIENTVERSION_H
8 #if defined(HAVE_CONFIG_H)
9 #include "config/bitcoin-config.h"
12 // client versioning and copyright year
15 // These need to be macros, as version.cpp's and bitcoin*-res.rc's voodoo requires it
16 #define CLIENT_VERSION_MAJOR 0
17 #define CLIENT_VERSION_MINOR 9
18 #define CLIENT_VERSION_REVISION 99
19 #define CLIENT_VERSION_BUILD 0
21 // Set to true for release, false for prerelease or test build
22 #define CLIENT_VERSION_IS_RELEASE false
24 // Copyright year (2009-this)
25 // Todo: update this when changing our copyright comments in the source
26 #define COPYRIGHT_YEAR 2014
28 #endif //HAVE_CONFIG_H
30 // Converts the parameter X to a string after macro replacement on X has been performed.
31 // Don't merge these into one macro!
32 #define STRINGIZE(X) DO_STRINGIZE(X)
33 #define DO_STRINGIZE(X) #X
35 // Copyright string used in Windows .rc files
36 #define COPYRIGHT_STR "2009-" STRINGIZE(COPYRIGHT_YEAR) " The Bitcoin Core Developers"
38 #endif // CLIENTVERSION_H