changeset 13407:5ebb99bc06bb

[HAVE_NTGUI]: Include win32.h. HAVE_NTGUI] (struct frame_glyphs): Include pixel fields. Use HAVE_WINDOW_SYSTEM instead of testing for specific window systems.
author Geoff Voelker <voelker@cs.washington.edu>
date Tue, 07 Nov 1995 07:13:46 +0000
parents 5aaab914fc6b
children 7e92386e1cf7
files src/dispextern.h
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/dispextern.h	Mon Nov 06 22:05:26 1995 +0000
+++ b/src/dispextern.h	Tue Nov 07 07:13:46 1995 +0000
@@ -32,6 +32,10 @@
 #include "msdos.h"
 #endif
 
+#ifdef HAVE_NTGUI
+#include "win32.h"
+#endif
+
 #ifdef HAVE_FACES
 struct face
   {
@@ -127,7 +131,7 @@
        and should be deleted.  */
     int   *bufp;
 
-#ifdef HAVE_X_WINDOWS
+#ifdef HAVE_WINDOW_SYSTEM
     /* Pixel position of top left corner of line.  */
     short *top_left_x;
     short *top_left_y;
@@ -140,7 +144,7 @@
 
     /* Largest font ascent on this line.  */
     short *max_ascent;
-#endif	/* HAVE_X_WINDOWS */
+#endif	/* HAVE_WINDOW_SYSTEM */
 
     /* Mapping of coordinate pairs to buffer positions.
        This field holds a vector indexed by row number.