From: Bram Moolenaar Date: Sun, 23 Jul 2017 20:57:00 +0000 (+0200) Subject: patch 8.0.0765: build fails with tiny features X-Git-Tag: v8.0.0765 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=81bdd6a02575b024db3dd5d91ec4ac4dfd41aa7a;p=vim patch 8.0.0765: build fails with tiny features Problem: Build fails with tiny features. Solution: Adjust #ifdef. (John Marriott) --- diff --git a/src/option.c b/src/option.c index 6dbc3d117..987c5b5df 100644 --- a/src/option.c +++ b/src/option.c @@ -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)) diff --git a/src/option.h b/src/option.h index 7394c7fd9..89c792205 100644 --- a/src/option.h +++ b/src/option.h @@ -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 diff --git a/src/version.c b/src/version.c index ed580491e..34017d131 100644 --- a/src/version.c +++ b/src/version.c @@ -769,6 +769,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 765, /**/ 764, /**/