changeset 16261:2001ef982570 v8.1.1135

patch 8.1.1135: build failure for small version commit https://github.com/vim/vim/commit/d85c396d5149a87677e30742f92b2ecfe28af8a6 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 7 14:19:14 2019 +0200 patch 8.1.1135: build failure for small version Problem: Build failure for small version. (Tony Mechelynck) Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Sun, 07 Apr 2019 14:30:05 +0200
parents d7a7a7508876
children b7cd0dd5cad2
files src/buffer.c src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -1853,7 +1853,9 @@ curbuf_reusable(void)
 	&& curbuf->b_ffname == NULL
 	&& curbuf->b_nwindows <= 1
 	&& (curbuf->b_ml.ml_mfp == NULL || BUFEMPTY())
+#if defined(FEAT_QUICKFIX)
 	&& !bt_quickfix(curbuf)
+#endif
 	&& !curbufIsChanged());
 }
 
--- a/src/version.c
+++ b/src/version.c
@@ -772,6 +772,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1135,
+/**/
     1134,
 /**/
     1133,