diff --git a/src/frame.h b/src/frame.h index 4933b4d649b..4c29c839897 100644 --- a/src/frame.h +++ b/src/frame.h @@ -265,7 +265,11 @@ typedef struct frame *FRAME_PTR; #define FRAME_NEW_HEIGHT(f) (f)->new_height #define FRAME_NEW_WIDTH(f) (f)->new_width #define FRAME_MENU_BAR_LINES(f) (f)->menu_bar_lines +#ifdef USE_X_TOOLKIT #define FRAME_EXTERNAL_MENU_BAR(f) (f)->external_menu_bar +#else +#define FRAME_EXTERNAL_MENU_BAR(f) 0 +#endif #define FRAME_CURSOR_X(f) (f)->cursor_x #define FRAME_CURSOR_Y(f) (f)->cursor_y #define FRAME_VISIBLE_P(f) ((f)->visible != 0)