1
0
forked from aniani/vim

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)
This commit is contained in:
Bram Moolenaar
2019-07-31 20:40:08 +02:00
parent 674e2bde6e
commit 70576f70f7
2 changed files with 14 additions and 0 deletions

View File

@@ -14,6 +14,7 @@
*/ */
#include "vim.h" #include "vim.h"
#include "version.h"
#ifdef Window #ifdef Window
# undef Window /* Amiga has its own Window definition */ # undef Window /* Amiga has its own Window definition */
@@ -108,6 +109,17 @@ int dos2 = FALSE; /* Amiga DOS 2.0x or higher */
#endif #endif
int size_set = FALSE; /* set to TRUE if window size was set */ 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 void
win_resize_on(void) win_resize_on(void)
{ {

View File

@@ -777,6 +777,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1781,
/**/ /**/
1780, 1780,
/**/ /**/