aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2019-01-19 13:32:59 +0200
committerEli Zaretskii2019-01-19 13:32:59 +0200
commit436c225f1b8ca48fa7c7e769fe6b7055f37af95d (patch)
tree9410dfcc259e3d68cfbeecf7d0497b03fe3c6e68 /src
parent8198d4be6b219b3f186297d2917756a1f64d2ad7 (diff)
downloademacs-436c225f1b8ca48fa7c7e769fe6b7055f37af95d.tar.gz
emacs-436c225f1b8ca48fa7c7e769fe6b7055f37af95d.zip
Unbreak the macOS NS build
* src/xdisp.c (expose_window_tree): Declare and define 'f' on NS as well. Reported by Herbert J. Skuhra <herbert@gojira.at>.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 867e5db69b5..ec8dd862302 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -32405,9 +32405,7 @@ expose_window (struct window *w, XRectangle *fr)
32405static bool 32405static bool
32406expose_window_tree (struct window *w, XRectangle *r) 32406expose_window_tree (struct window *w, XRectangle *r)
32407{ 32407{
32408#ifndef HAVE_NS
32409 struct frame *f = XFRAME (w->frame); 32408 struct frame *f = XFRAME (w->frame);
32410#endif
32411 bool mouse_face_overwritten_p = false; 32409 bool mouse_face_overwritten_p = false;
32412 32410
32413 while (w && !FRAME_GARBAGED_P (f)) 32411 while (w && !FRAME_GARBAGED_P (f))