Commit 497fbd42 authored by Geoff Voelker's avatar Geoff Voelker

[HAVE_NTGUI]: Include win32.h.

HAVE_NTGUI] (struct frame_glyphs): Include pixel fields.
Use HAVE_WINDOW_SYSTEM instead of testing for specific window systems.
parent bb7e0f81
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment