summaryrefslogtreecommitdiff
path: root/src/window.h
diff options
context:
space:
mode:
authorJuri Linkov <juri@linkov.net>2019-09-04 22:05:05 +0300
committerJuri Linkov <juri@linkov.net>2019-09-04 22:05:05 +0300
commit7970c89c770f475ab67a8de84223e45c5bb23d8c (patch)
tree474cc82c12e36cce942a079569e74c79440c49ae /src/window.h
parentd1c14de9a905b2278c3a450963aa8b9498198e25 (diff)
downloademacs-7970c89c770f475ab67a8de84223e45c5bb23d8c.tar.gz
Text-based nox builds compiled without X window support
Diffstat (limited to 'src/window.h')
-rw-r--r--src/window.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/window.h b/src/window.h
index 2683c6b1433..21d2f3d3671 100644
--- a/src/window.h
+++ b/src/window.h
@@ -753,6 +753,8 @@ wset_next_buffers (struct window *w, Lisp_Object val)
#define WINDOW_TAB_BAR_P(W) \
(WINDOWP (WINDOW_XFRAME (W)->tab_bar_window) \
&& (W) == XWINDOW (WINDOW_XFRAME (W)->tab_bar_window))
+#else
+#define WINDOW_TAB_BAR_P(W) false
#endif
/* True if W is a tool bar window. */