Patch 8.1.1781

14 views
Skip to first unread message

Bram Moolenaar

unread,
Jul 31, 2019, 2:40:32 PM7/31/19
to vim...@googlegroups.com

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 -- Br...@Moolenaar.net -- 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 ///
Reply all
Reply to author
Forward
0 new messages