]> granicus.if.org Git - vim/commitdiff
patch 8.0.0765: build fails with tiny features v8.0.0765
authorBram Moolenaar <Bram@vim.org>
Sun, 23 Jul 2017 20:57:00 +0000 (22:57 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 23 Jul 2017 20:57:00 +0000 (22:57 +0200)
Problem:    Build fails with tiny features.
Solution:   Adjust #ifdef. (John Marriott)

src/option.c
src/option.h
src/version.c

index 6dbc3d1170aca0b733bcadeda02f12ed7ead6dce..987c5b5dfc1e08afe07f15a6ab37268e20792965 100644 (file)
@@ -57,9 +57,9 @@
 #define PV_AI          OPT_BUF(BV_AI)
 #define PV_AR          OPT_BOTH(OPT_BUF(BV_AR))
 #define PV_BKC         OPT_BOTH(OPT_BUF(BV_BKC))
+#define PV_BH          OPT_BUF(BV_BH)
+#define PV_BT          OPT_BUF(BV_BT)
 #ifdef FEAT_QUICKFIX
-# define PV_BH         OPT_BUF(BV_BH)
-# define PV_BT         OPT_BUF(BV_BT)
 # define PV_EFM                OPT_BOTH(OPT_BUF(BV_EFM))
 # define PV_GP         OPT_BOTH(OPT_BUF(BV_GP))
 # define PV_MP         OPT_BOTH(OPT_BUF(BV_MP))
index 7394c7fd92b89f2fdf5dd15f0e7fc1cdafc22c54..89c79220501867ef03d90af90000aa2cf5140303 100644 (file)
@@ -988,12 +988,10 @@ enum
 {
     BV_AI = 0
     , BV_AR
-#ifdef FEAT_QUICKFIX
     , BV_BH
-#endif
     , BV_BKC
-#ifdef FEAT_QUICKFIX
     , BV_BT
+#ifdef FEAT_QUICKFIX
     , BV_EFM
     , BV_GP
     , BV_MP
index ed580491e94cc99b5fd030fb2f06c502d5bf77aa..34017d131bfda4c1f67eaa4e86197bda515f3ee8 100644 (file)
@@ -769,6 +769,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    765,
 /**/
     764,
 /**/