summaryrefslogtreecommitdiff
path: root/src/w32gui.h
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2008-05-14 01:03:39 +0000
committerKenichi Handa <handa@m17n.org>2008-05-14 01:03:39 +0000
commitbce485cc8e88195aed2650cb8e8d57d0081418c0 (patch)
tree1bbddf958dc6ce63cd420db3ca628f4d0e7dd1bf /src/w32gui.h
parent5f18d119cea1d372871ad74af985bff15a1bd4ba (diff)
downloademacs-bce485cc8e88195aed2650cb8e8d57d0081418c0.tar.gz
(XGCValues): Surround `XFontStruct *font' by "if
OLD_FONT" and "endif".
Diffstat (limited to 'src/w32gui.h')
-rw-r--r--src/w32gui.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/w32gui.h b/src/w32gui.h
index b0faa3e597d..f0e07680475 100644
--- a/src/w32gui.h
+++ b/src/w32gui.h
@@ -63,7 +63,10 @@ typedef struct _XGCValues
{
COLORREF foreground;
COLORREF background;
+#if OLD_FONT
XFontStruct * font;
+#endif
+ struct font *font;
} XGCValues;
#define GCForeground 0x01