aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKim F. Storm2003-03-21 14:23:32 +0000
committerKim F. Storm2003-03-21 14:23:32 +0000
commit1dabd0cff476a1dfe4efb1664769b6002862a9c5 (patch)
treeede669e5e4c7f98b329b41bab95ffbaf1a26c807 /src
parentdb6985740afa911ebfc66bd4c936c11eeaee9927 (diff)
downloademacs-1dabd0cff476a1dfe4efb1664769b6002862a9c5.tar.gz
emacs-1dabd0cff476a1dfe4efb1664769b6002862a9c5.zip
Fix compilation for --with-x=no.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index f80073788a9..5f3e34cec59 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -200,6 +200,10 @@ Boston, MA 02111-1307, USA. */
200#include "macterm.h" 200#include "macterm.h"
201#endif 201#endif
202 202
203#ifndef FRAME_X_OUTPUT
204#define FRAME_X_OUTPUT(f) ((f)->output_data.x)
205#endif
206
203#define INFINITY 10000000 207#define INFINITY 10000000
204 208
205#if defined (USE_X_TOOLKIT) || defined (HAVE_NTGUI) || defined (MAC_OS) \ 209#if defined (USE_X_TOOLKIT) || defined (HAVE_NTGUI) || defined (MAC_OS) \
@@ -7887,6 +7891,8 @@ update_menu_bar (f, save_match_data)
7887 Output Cursor 7891 Output Cursor
7888 ***********************************************************************/ 7892 ***********************************************************************/
7889 7893
7894#ifdef HAVE_WINDOW_SYSTEM
7895
7890/* EXPORT: 7896/* EXPORT:
7891 Nominal cursor position -- where to draw output. 7897 Nominal cursor position -- where to draw output.
7892 HPOS and VPOS are window relative glyph matrix coordinates. 7898 HPOS and VPOS are window relative glyph matrix coordinates.
@@ -7951,6 +7957,7 @@ x_cursor_to (vpos, hpos, y, x)
7951 } 7957 }
7952} 7958}
7953 7959
7960#endif /* HAVE_WINDOW_SYSTEM */
7954 7961
7955 7962
7956/*********************************************************************** 7963/***********************************************************************