aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Rudalics2014-07-25 11:29:23 +0200
committerMartin Rudalics2014-07-25 11:29:23 +0200
commitc3dfb46e1c4ee289c0c2b8f6454aba3480e8f1de (patch)
tree2fe3b32ecfa524273dd2ed8f4b79e3c43c22291b /src
parent2d471498f69c912f25820d6dd8557be549762081 (diff)
downloademacs-c3dfb46e1c4ee289c0c2b8f6454aba3480e8f1de.tar.gz
emacs-c3dfb46e1c4ee289c0c2b8f6454aba3480e8f1de.zip
Provisionally fix Windows build broken by last commit.
* w32fns.c (menubar_in_use): No more static. * w32term.c (current_popup_menu, menubar_in_use): Declare.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/w32fns.c2
-rw-r--r--src/w32term.c3
3 files changed, 9 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 1bc65960e5a..0607409b86c 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12014-07-25 Martin Rudalics <rudalics@gmx.at>
2
3 * w32fns.c (menubar_in_use): No more static.
4 * w32term.c (current_popup_menu, menubar_in_use): Declare.
5
12014-07-25 Dmitry Antipov <dmantipov@yandex.ru> 62014-07-25 Dmitry Antipov <dmantipov@yandex.ru>
2 7
3 Move hourglass machinery to RIF. 8 Move hourglass machinery to RIF.
diff --git a/src/w32fns.c b/src/w32fns.c
index dbd83444c99..14d1cb4e771 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -224,7 +224,7 @@ static int w32_unicode_gui;
224 224
225/* From w32menu.c */ 225/* From w32menu.c */
226extern HMENU current_popup_menu; 226extern HMENU current_popup_menu;
227static int menubar_in_use = 0; 227int menubar_in_use = 0;
228 228
229/* From w32uniscribe.c */ 229/* From w32uniscribe.c */
230extern void syms_of_w32uniscribe (void); 230extern void syms_of_w32uniscribe (void);
diff --git a/src/w32term.c b/src/w32term.c
index fd902ee7cd5..0a82546d0a6 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -93,6 +93,9 @@ extern void free_frame_menubar (struct frame *);
93extern int w32_codepage_for_font (char *fontname); 93extern int w32_codepage_for_font (char *fontname);
94extern Cursor w32_load_cursor (LPCTSTR name); 94extern Cursor w32_load_cursor (LPCTSTR name);
95 95
96extern HMENU current_popup_menu;
97extern int menubar_in_use;
98
96#define x_any_window_to_frame x_window_to_frame 99#define x_any_window_to_frame x_window_to_frame
97#define x_top_window_to_frame x_window_to_frame 100#define x_top_window_to_frame x_window_to_frame
98 101