forked from aniani/vim
patch 8.0.1314: build fails on Mac
Problem: Build fails on Mac. (chdiza) Solution: Add #ifdef around GUI fields.
This commit is contained in:
11
src/beval.h
11
src/beval.h
@@ -32,6 +32,7 @@ typedef enum
|
||||
|
||||
typedef struct BalloonEvalStruct
|
||||
{
|
||||
#ifdef FEAT_BEVAL_GUI
|
||||
# ifdef FEAT_GUI_GTK
|
||||
GtkWidget *target; /* widget we are monitoring */
|
||||
GtkWidget *balloonShell;
|
||||
@@ -62,14 +63,16 @@ typedef struct BalloonEvalStruct
|
||||
BeState showState; /* tells us whats currently going on */
|
||||
# endif
|
||||
# endif
|
||||
int ts; /* tabstop setting for this buffer */
|
||||
char_u *msg;
|
||||
void (*msgCB)(struct BalloonEvalStruct *, int);
|
||||
void *clientData; /* For callback */
|
||||
# if !defined(FEAT_GUI_GTK) && !defined(FEAT_GUI_W32)
|
||||
Dimension screen_width; /* screen width in pixels */
|
||||
Dimension screen_height; /* screen height in pixels */
|
||||
# endif
|
||||
void (*msgCB)(struct BalloonEvalStruct *, int);
|
||||
void *clientData; /* For callback */
|
||||
#endif
|
||||
|
||||
int ts; /* tabstop setting for this buffer */
|
||||
char_u *msg;
|
||||
} BalloonEval;
|
||||
|
||||
#define EVAL_OFFSET_X 15 /* displacement of beval topleft corner from pointer */
|
||||
|
@@ -771,6 +771,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1314,
|
||||
/**/
|
||||
1313,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user