summaryrefslogtreecommitdiff
path: root/src/rev.cpp.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/rev.cpp.in')
-rw-r--r--src/rev.cpp.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rev.cpp.in b/src/rev.cpp.in
index 48b29f349..3f5b126dc 100644
--- a/src/rev.cpp.in
+++ b/src/rev.cpp.in
@@ -51,6 +51,11 @@ const char _openttd_build_date[] = __DATE__ " " __TIME__;
const char _openttd_revision_hash[] = "!!GITHASH!!";
/**
+ * The year of this version.
+ */
+const char _openttd_revision_year[] = "!!YEAR!!";
+
+/**
* Let us know if current build was modified. This detection
* works even in the case when revision string is overridden by
* --revision argument.