From: Bram Moolenaar Date: Sun, 24 Jun 2018 12:44:46 +0000 (+0200) Subject: patch 8.1.0106: build fails when HAVE_DATE_TIME is undefined X-Git-Tag: v8.1.0106 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eee3e9466951e6619e7db51cd027bafdfbebb08d;p=vim 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) --- 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); @@ -783,6 +789,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 106, /**/ 105, /**/