Patch 8.1.1781
Problem:    Amiga: no builtin OS readable version info.
Solution:   Add a "version" variable. (Ola Söder, closes #4753)
Files:      src/os_amiga.c


*** ../vim-8.1.1780/src/os_amiga.c      2019-07-02 23:22:40.689654234 +0200
--- src/os_amiga.c      2019-07-31 20:39:22.469628925 +0200
***************
*** 14,19 ****
--- 14,20 ----
   */
  
  #include "vim.h"
+ #include "version.h"
  
  #ifdef Window
  # undef Window        /* Amiga has its own Window definition */
***************
*** 108,113 ****
--- 109,125 ----
  #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)
  {
*** ../vim-8.1.1780/src/version.c       2019-07-31 20:20:56.885711967 +0200
--- src/version.c       2019-07-31 20:39:56.485465138 +0200
***************
*** 779,780 ****
--- 779,782 ----
  {   /* Add new patch number below this line */
+ /**/
+     1781,
  /**/

-- 
Bad fashion can discourage normal people from interacting with the engineer
and talking about the cute things their children do.
                                (Scott Adams - The Dilbert principle)

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/201907311840.x6VIePWF019563%40masaka.moolenaar.net.

Raspunde prin e-mail lui