From 7f09455e5807f0a2b14a313762f6b547490265d1 Mon Sep 17 00:00:00 2001 From: Dmitry Antipov Date: Sun, 15 Sep 2013 11:48:25 +0400 Subject: [PATCH] * xterm.c, xfns.c (toplevel): Remove #ifdef HAVE_X_WINDOWS because these modules are never compiled otherwise. --- src/ChangeLog | 2 ++ src/xfns.c | 4 ---- src/xterm.c | 4 ---- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 4040681f7ca..1e50b4391ba 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -9,6 +9,8 @@ * nsterm.h, w32term.h, xterm.h: ...and not here. * w32term.h (SCROLL_BAR_X_WIDGET, SET_SCROLL_BAR_X_WIDGET): Remove unused Xisms. + * xterm.c, xfns.c (toplevel): Remove #ifdef HAVE_X_WINDOWS because + these modules are never compiled otherwise. 2013-09-14 Eli Zaretskii diff --git a/src/xfns.c b/src/xfns.c index ecd1ce7bc95..d455b2f21e4 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -42,8 +42,6 @@ along with GNU Emacs. If not, see . */ #include "termchar.h" #include "font.h" -#ifdef HAVE_X_WINDOWS - #include #include @@ -6186,5 +6184,3 @@ When using Gtk+ tooltips, the tooltip face is not used. */); defsubr (&Sx_select_font); #endif } - -#endif /* HAVE_X_WINDOWS */ diff --git a/src/xterm.c b/src/xterm.c index 60c2ecd1448..05766341cbc 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -23,8 +23,6 @@ along with GNU Emacs. If not, see . */ #include #include -#ifdef HAVE_X_WINDOWS - #include "lisp.h" #include "blockinput.h" #include "syssignal.h" @@ -10865,5 +10863,3 @@ default is nil, which is the same as `super'. */); make_float (DEFAULT_REHASH_THRESHOLD), Qnil); } - -#endif /* HAVE_X_WINDOWS */ -- 2.39.2