]> granicus.if.org Git - vim/commitdiff
patch 8.0.1555: build error for some combination of features v8.0.1555
authorBram Moolenaar <Bram@vim.org>
Thu, 1 Mar 2018 22:10:45 +0000 (23:10 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 1 Mar 2018 22:10:45 +0000 (23:10 +0100)
Problem:    Build error for some combination of features.
Solution:   Declare variable in more situations.

src/main.c
src/version.c

index cf937a3205cd0f3f2590abda5a22312ed7d7cc16..793d54942c908d3023999b650b385541c2c49479 100644 (file)
@@ -111,7 +111,7 @@ main
 # endif
 (int argc, char **argv)
 {
-#ifdef STARTUPTIME
+#if defined(STARTUPTIME) || defined(CLEAN_RUNTIMEPATH)
     int                i;
 #endif
 
index e890d110567d3ee2e2ed915e5f37c973746afc69..9a61422a1193927cbd6ee8a37b0b0716a71f31fb 100644 (file)
@@ -778,6 +778,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1555,
 /**/
     1554,
 /**/