Skip to content

Commit 81bdd6a

Browse files
committed
patch 8.0.0765: build fails with tiny features
Problem: Build fails with tiny features. Solution: Adjust #ifdef. (John Marriott)
1 parent dbe948d commit 81bdd6a

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/option.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@
5757
#define PV_AI OPT_BUF(BV_AI)
5858
#define PV_AR OPT_BOTH(OPT_BUF(BV_AR))
5959
#define PV_BKC OPT_BOTH(OPT_BUF(BV_BKC))
60+
#define PV_BH OPT_BUF(BV_BH)
61+
#define PV_BT OPT_BUF(BV_BT)
6062
#ifdef FEAT_QUICKFIX
61-
# define PV_BH OPT_BUF(BV_BH)
62-
# define PV_BT OPT_BUF(BV_BT)
6363
# define PV_EFM OPT_BOTH(OPT_BUF(BV_EFM))
6464
# define PV_GP OPT_BOTH(OPT_BUF(BV_GP))
6565
# define PV_MP OPT_BOTH(OPT_BUF(BV_MP))

src/option.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -988,12 +988,10 @@ enum
988988
{
989989
BV_AI = 0
990990
, BV_AR
991-
#ifdef FEAT_QUICKFIX
992991
, BV_BH
993-
#endif
994992
, BV_BKC
995-
#ifdef FEAT_QUICKFIX
996993
, BV_BT
994+
#ifdef FEAT_QUICKFIX
997995
, BV_EFM
998996
, BV_GP
999997
, BV_MP

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -769,6 +769,8 @@ static char *(features[]) =
769769

770770
static int included_patches[] =
771771
{ /* Add new patch number below this line */
772+
/**/
773+
765,
772774
/**/
773775
764,
774776
/**/

0 commit comments

Comments
 (0)