]> granicus.if.org Git - vim/commitdiff
patch 8.2.3038: Amiga built-in version string doesn't include build date v8.2.3038
authorola.soder@axis.com <ola.soder@axis.com>
Wed, 23 Jun 2021 13:52:46 +0000 (15:52 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 23 Jun 2021 13:52:46 +0000 (15:52 +0200)
Problem:    Amiga built-in version string doesn't include build date.
Solution:   Add the build date if available. (Ola Söder, closes #8437)

src/os_amiga.c
src/version.c

index 91c13e7d29ced40e91f5371f37630ac8d38a63c5..c36206c82f55cf6b07d06058d7d64b08565ecb45 100644 (file)
@@ -115,6 +115,9 @@ static char version[] __attribute__((used)) =
     VIM_VERSION_MINOR_STR
 # ifdef PATCHLEVEL
     "." PATCHLEVEL
+# endif
+# ifdef BUILDDATE
+    " (" BUILDDATE ")"
 # endif
     ;
 #endif
index 4ae884655909cef945761a7cc6ec432d8484c3b1..4d89fc21c3dff7e8481afb48065cc5653afa2312 100644 (file)
@@ -755,6 +755,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    3038,
 /**/
     3037,
 /**/