From 0c625084c22e7a0d4134e93dd277b1675c45ab29 Mon Sep 17 00:00:00 2001 From: raziel- Date: Sat, 9 Aug 2014 15:57:35 +0300 Subject: AMIGAOS: Add AmigaOS version format AmigaOS features a "version" command which can read out version information if stored in a sepcific way. To get to that information it parses the exe for "$VER:" and prints out everything behind it. This adds such a version information to ScummVM so users on AmigaOS can read it out without the need to use "scummvm --version"--- base/version.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/base/version.cpp b/base/version.cpp index fba3554f67..ef02ff9d21 100644 --- a/base/version.cpp +++ b/base/version.cpp @@ -56,6 +56,9 @@ * to properly work in exports (i.e. release tar balls etc.). */ const char *gScummVMVersion = SCUMMVM_VERSION; +#ifdef __amigaos4__ +static const char *version_cookie __attribute__((used)) = "$VER: ScummVM " SCUMMVM_VERSION " (" __DATE__ ", " __TIME__ ")"; +#endif #ifdef __PLAYSTATION2__ const char *gScummVMBuildDate = "Git Master"; /* ScummVM Git Master */ const char *gScummVMVersionDate = SCUMMVM_VERSION " - PlayStation2"; -- cgit v1.2.3