]> granicus.if.org Git - vim/commitdiff
patch 7.4.1930 v7.4.1930
authorBram Moolenaar <Bram@vim.org>
Mon, 13 Jun 2016 18:23:53 +0000 (20:23 +0200)
committerBram Moolenaar <Bram@vim.org>
Mon, 13 Jun 2016 18:23:53 +0000 (20:23 +0200)
Problem:    Can't build without +spell but with +quickfix. (Charles)
Solution:   Add better #ifdef around ml_append_buf(). (closes #864)

src/memline.c
src/version.c

index 1c2ddbf7b48d721aae54ade92749525788d776eb..2dd465ae716bd4b8ff032fa2354737493621f5be 100644 (file)
@@ -2542,7 +2542,8 @@ ml_append(
     return ml_append_int(curbuf, lnum, line, len, newfile, FALSE);
 }
 
-#if defined(FEAT_SPELL) || defined(PROTO)
+#if defined(FEAT_SPELL) || (defined(FEAT_QUICKFIX) && defined(FEAT_WINDOWS)) \
+       || defined(PROTO)
 /*
  * Like ml_append() but for an arbitrary buffer.  The buffer must already have
  * a memline.
index de67ab2a509f2a135027aea3aedca9cc40d2eb34..b58bc3c345dc3146e0b0c897251546ca540b7599 100644 (file)
@@ -753,6 +753,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1930,
 /**/
     1929,
 /**/