patch 8.1.1781: Amiga: no builtin OS readable version info
Problem: Amiga: no builtin OS readable version info.
Solution: Add a "version" variable. (Ola Söder, closes #4753)
diff --git a/src/os_amiga.c b/src/os_amiga.c
index 94355b8..fbe33de 100644
--- a/src/os_amiga.c
+++ b/src/os_amiga.c
@@ -14,6 +14,7 @@
*/
#include "vim.h"
+#include "version.h"
#ifdef Window
# undef Window /* Amiga has its own Window definition */
@@ -108,6 +109,17 @@
#endif
int size_set = FALSE; /* set to TRUE if window size was set */
+#ifdef __GNUC__
+static char version[] __attribute__((used)) =
+ "\0$VER: Vim "
+ VIM_VERSION_MAJOR_STR "."
+ VIM_VERSION_MINOR_STR
+# ifdef PATCHLEVEL
+ "." PATCHLEVEL
+# endif
+ ;
+#endif
+
void
win_resize_on(void)
{