]> granicus.if.org Git - vim/commitdiff
patch 8.1.0106: build fails when HAVE_DATE_TIME is undefined v8.1.0106
authorBram Moolenaar <Bram@vim.org>
Sun, 24 Jun 2018 12:44:46 +0000 (14:44 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 24 Jun 2018 12:44:46 +0000 (14:44 +0200)
Problem:    Build fails when HAVE_DATE_TIME is undefined.
Solution:   Always define init_longVersion(). (Christian Brabandt,
            closes #3075)

src/version.c

index 85b67971087eaba1af4d92d1602e17e5e1bf7010..1969072218a232203ccc6c5b7c42e9a9d7e796f2 100644 (file)
@@ -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,
 /**/