changeset 50241:4425daba5035

Fix compilation for --with-x=no.
author Kim F. Storm <storm@cua.dk>
date Fri, 21 Mar 2003 14:23:32 +0000
parents 22d0f894909f
children 8bd070bffa46
files src/xdisp.c
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Fri Mar 21 14:05:27 2003 +0000
+++ b/src/xdisp.c	Fri Mar 21 14:23:32 2003 +0000
@@ -200,6 +200,10 @@
 #include "macterm.h"
 #endif
 
+#ifndef FRAME_X_OUTPUT
+#define FRAME_X_OUTPUT(f) ((f)->output_data.x)
+#endif
+
 #define INFINITY 10000000
 
 #if defined (USE_X_TOOLKIT) || defined (HAVE_NTGUI) || defined (MAC_OS) \
@@ -7887,6 +7891,8 @@
 			    Output Cursor
  ***********************************************************************/
 
+#ifdef HAVE_WINDOW_SYSTEM
+
 /* EXPORT:
    Nominal cursor position -- where to draw output.
    HPOS and VPOS are window relative glyph matrix coordinates.
@@ -7951,6 +7957,7 @@
     }
 }
 
+#endif /* HAVE_WINDOW_SYSTEM */
 
 
 /***********************************************************************