move COPYRIGHT_YEAR to clientversion.h

- this allows usage of that information also in other places (e.g. splash
  screen)
This commit is contained in:
Philip Kaufmann
2013-04-10 16:53:36 +02:00
parent 1258dde48d
commit ec3cac6631
2 changed files with 7 additions and 6 deletions

View File

@@ -2,7 +2,7 @@
#define CLIENTVERSION_H
//
// client versioning
// client versioning and copyright year
//
// These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it
@@ -14,6 +14,10 @@
// Set to true for release, false for prerelease or test build
#define CLIENT_VERSION_IS_RELEASE false
// Copyright year (2009-this)
// Todo: update this when changing our copyright comments in the source
#define COPYRIGHT_YEAR 2013
// Converts the parameter X to a string after macro replacement on X has been performed.
// Don't merge these into one macro!
#define STRINGIZE(X) DO_STRINGIZE(X)