changeset 14177:5dfe776ad10b v8.1.0106

patch 8.1.0106: build fails when HAVE_DATE_TIME is undefined commit https://github.com/vim/vim/commit/eee3e9466951e6619e7db51cd027bafdfbebb08d Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 24 14:44:46 2018 +0200 patch 8.1.0106: build fails when HAVE_DATE_TIME is undefined Problem: Build fails when HAVE_DATE_TIME is undefined. Solution: Always define init_longVersion(). (Christian Brabandt, closes #3075)
author Christian Brabandt <cb@256bit.org>
date Sun, 24 Jun 2018 14:45:05 +0200
parents 24689dc60827
children a0ad689f4e0d
files src/version.c
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/version.c
+++ b/src/version.c
@@ -71,6 +71,12 @@ init_longVersion(void)
 # endif
 #else
 char	*longVersion = VIM_VERSION_LONG;
+
+    void
+init_longVersion(void)
+{
+    // nothing to do
+}
 #endif
 
 static void list_features(void);
@@ -784,6 +790,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    106,
+/**/
     105,
 /**/
     104,