Changeset View
Changeset View
Standalone View
Standalone View
src/clientversion.h
// Copyright (c) 2009-2016 The Bitcoin Core developers | // Copyright (c) 2009-2016 The Bitcoin Core developers | ||||
// Copyright (c) 2017-2018 The Bitcoin developers | // Copyright (c) 2017-2018 The Bitcoin developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#ifndef BITCOIN_CLIENTVERSION_H | #ifndef BITCOIN_CLIENTVERSION_H | ||||
#define BITCOIN_CLIENTVERSION_H | #define BITCOIN_CLIENTVERSION_H | ||||
#if defined(HAVE_CONFIG_H) | |||||
#include "config/bitcoin-config.h" | #include "config/bitcoin-config.h" | ||||
#else | |||||
/** | |||||
* client versioning and copyright year | |||||
*/ | |||||
//! These need to be macros, as clientversion.cpp's and bitcoin*-res.rc's voodoo | |||||
//! requires it | |||||
#define CLIENT_VERSION_MAJOR 0 | |||||
#define CLIENT_VERSION_MINOR 18 | |||||
#define CLIENT_VERSION_REVISION 6 | |||||
#define CLIENT_VERSION_BUILD 0 | |||||
//! Set to true for release, false for prerelease or test build | |||||
#define CLIENT_VERSION_IS_RELEASE true | |||||
/** | |||||
* Copyright year (2009-this) | |||||
* TODO: Update this when changing our copyright comments in the source | |||||
*/ | |||||
#define COPYRIGHT_YEAR 2018 | |||||
#endif // HAVE_CONFIG_H | |||||
/** | /** | ||||
* Converts the parameter X to a string after macro replacement on X has been | * Converts the parameter X to a string after macro replacement on X has been | ||||
* performed. | * performed. | ||||
* Don't merge these into one macro! | * Don't merge these into one macro! | ||||
*/ | */ | ||||
#define STRINGIZE(X) DO_STRINGIZE(X) | #define STRINGIZE(X) DO_STRINGIZE(X) | ||||
#define DO_STRINGIZE(X) #X | #define DO_STRINGIZE(X) #X | ||||
Show All 30 Lines |