summaryrefslogtreecommitdiff
path: root/src/rev.cpp.in
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-09-12 07:11:48 +0000
committerrubidium <rubidium@openttd.org>2007-09-12 07:11:48 +0000
commit9e7931f6ea41eea7052e7f40cc841694feed252b (patch)
tree2a8a491bac20ead349d11179cf161aaf43c0cb74 /src/rev.cpp.in
parent7b7c66fb6b604e32dbcfb6104771b33fa6f32dc1 (diff)
downloadopenttd-9e7931f6ea41eea7052e7f40cc841694feed252b.tar.xz
(svn r11089) -Codechange: add revision detection to MSVC.
Diffstat (limited to 'src/rev.cpp.in')
-rw-r--r--src/rev.cpp.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rev.cpp.in b/src/rev.cpp.in
new file mode 100644
index 000000000..badec3c0d
--- /dev/null
+++ b/src/rev.cpp.in
@@ -0,0 +1,4 @@
+extern const char _openttd_revision[] = "@@VERSION@@";
+#ifdef __MORPHOS__
+extern const char morphos_versions_tag[] = "\\0$VER: OpenTTD @@VERSION@@ (@@DATE@@) OpenTTD Team [MorphOS, PowerPC]";
+#endif