]> code.delx.au - gnu-emacs/commitdiff
[HAVE_NTGUI]: Include win32.h.
authorGeoff Voelker <voelker@cs.washington.edu>
Tue, 7 Nov 1995 07:13:46 +0000 (07:13 +0000)
committerGeoff Voelker <voelker@cs.washington.edu>
Tue, 7 Nov 1995 07:13:46 +0000 (07:13 +0000)
HAVE_NTGUI] (struct frame_glyphs): Include pixel fields.
Use HAVE_WINDOW_SYSTEM instead of testing for specific window systems.

src/dispextern.h

index d62797195ca159930237348247e5d213278b9ac9..98fefbc4de9e467dd824a9f064c9fa2a96828ebf 100644 (file)
@@ -32,6 +32,10 @@ extern int display_completed;
 #include "msdos.h"
 #endif
 
+#ifdef HAVE_NTGUI
+#include "win32.h"
+#endif
+
 #ifdef HAVE_FACES
 struct face
   {
@@ -127,7 +131,7 @@ struct frame_glyphs
        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 @@ struct frame_glyphs
 
     /* 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.