summaryrefslogtreecommitdiff
path: root/src/dispextern.h
diff options
context:
space:
mode:
authorGeoff Voelker <voelker@cs.washington.edu>1995-11-07 07:13:46 +0000
committerGeoff Voelker <voelker@cs.washington.edu>1995-11-07 07:13:46 +0000
commit2769d9300d23ba437fa562ac86082342087aeea0 (patch)
tree098f1a501dc02a3b5c693a234ceeab030c575df2 /src/dispextern.h
parent6a432a3f5cbd139787055f937ff69caaa11199f0 (diff)
downloademacs-2769d9300d23ba437fa562ac86082342087aeea0.tar.gz
[HAVE_NTGUI]: Include win32.h.
HAVE_NTGUI] (struct frame_glyphs): Include pixel fields. Use HAVE_WINDOW_SYSTEM instead of testing for specific window systems.
Diffstat (limited to 'src/dispextern.h')
-rw-r--r--src/dispextern.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/dispextern.h b/src/dispextern.h
index d62797195ca..98fefbc4de9 100644
--- a/src/dispextern.h
+++ b/src/dispextern.h
@@ -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.