summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-06-24 14:44:46 +0200
committerBram Moolenaar <Bram@vim.org>2018-06-24 14:44:46 +0200
commiteee3e9466951e6619e7db51cd027bafdfbebb08d (patch)
treec31c4306464f941ab1d2af9f080ef7edacd9c9c0
parent04958cbaf25eea27eceedaa987adfb354ad5f7fd (diff)
downloadvim-eee3e9466951e6619e7db51cd027bafdfbebb08d.zip
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)
-rw-r--r--src/version.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/version.c b/src/version.c
index 85b679710..196907221 100644
--- 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,