]> git.eshelyaron.com Git - emacs.git/commitdiff
(XGCValues): Surround `XFontStruct *font' by "if
authorKenichi Handa <handa@m17n.org>
Wed, 14 May 2008 01:03:39 +0000 (01:03 +0000)
committerKenichi Handa <handa@m17n.org>
Wed, 14 May 2008 01:03:39 +0000 (01:03 +0000)
OLD_FONT" and "endif".

src/w32gui.h

index b0faa3e597d6017ad7e1365573986ca570007caa..f0e07680475bbbdb8316a37648a28ecdb6d46966 100644 (file)
@@ -63,7 +63,10 @@ typedef struct _XGCValues
 {
   COLORREF foreground;
   COLORREF background;
+#if OLD_FONT
   XFontStruct * font;
+#endif
+  struct font *font;
 } XGCValues;
 
 #define GCForeground 0x01