Skip to content

Commit 40e280d

Browse files
committed
patch 8.0.1321: can't build huge version with Athena
Problem: Can't build huge version with Athena. (Mark Kelly) Solution: Move including beval.h to before structs.h. Include beval.pro like other proto files.
1 parent 7221fce commit 40e280d

4 files changed

Lines changed: 9 additions & 5 deletions

File tree

src/beval.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ typedef struct BalloonEvalStruct
7878
#define EVAL_OFFSET_X 15 /* displacement of beval topleft corner from pointer */
7979
#define EVAL_OFFSET_Y 10
8080

81-
#include "beval.pro"
8281
#ifdef FEAT_BEVAL_GUI
8382
# include "gui_beval.pro"
8483
#endif

src/proto.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,9 @@ void qsort(void *base, size_t elm_count, size_t elm_size, int (*cmp)(const void
201201

202202
/* Ugly solution for "BalloonEval" not being defined while it's used in some
203203
* .pro files. */
204-
# ifndef FEAT_BEVAL
204+
# ifdef FEAT_BEVAL
205+
# include "beval.pro"
206+
# else
205207
# define BalloonEval int
206208
# endif
207209

src/version.c

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

772772
static int included_patches[] =
773773
{ /* Add new patch number below this line */
774+
/**/
775+
1321,
774776
/**/
775777
1320,
776778
/**/

src/vim.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1809,14 +1809,15 @@ typedef int sock_T;
18091809

18101810
/* Include option.h before structs.h, because the number of window-local and
18111811
* buffer-local options is used there. */
1812-
#include "option.h" /* options and default values */
1812+
#include "option.h" /* options and default values */
1813+
1814+
#include "beval.h" /* BalloonEval */
18131815

18141816
/* Note that gui.h is included by structs.h */
18151817

1816-
#include "structs.h" /* file that defines many structures */
1818+
#include "structs.h" /* defines many structures */
18171819

18181820
#include "alloc.h"
1819-
#include "beval.h"
18201821

18211822
/* Values for "do_profiling". */
18221823
#define PROF_NONE 0 /* profiling not started */

0 commit comments

Comments
 (0)