aboutsummaryrefslogtreecommitdiff
path: root/src/clientversion.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/clientversion.h')
-rw-r--r--src/clientversion.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/clientversion.h b/src/clientversion.h
index 30c0c4072b..b376a67c8a 100644
--- a/src/clientversion.h
+++ b/src/clientversion.h
@@ -1,6 +1,9 @@
#ifndef CLIENTVERSION_H
#define CLIENTVERSION_H
+#if defined(HAVE_CONFIG_H)
+#include "bitcoin-config.h"
+#else
//
// client versioning and copyright year
//
@@ -18,6 +21,8 @@
// Todo: update this when changing our copyright comments in the source
#define COPYRIGHT_YEAR 2013
+#endif //HAVE_CONFIG_H
+
// 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)