aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2015-01-10 13:13:57 -0800
committerPaul Eggert2015-01-10 13:42:34 -0800
commit649937920b5023be5c0685d1537f5ea2bfb9899a (patch)
treedc53b01174579fe381b6b7c53cb6677028355729 /src
parent288e1fd737265b7fc20c2c0d5a7b4ffaf26ecf66 (diff)
downloademacs-649937920b5023be5c0685d1537f5ea2bfb9899a.tar.gz
emacs-649937920b5023be5c0685d1537f5ea2bfb9899a.zip
Port to HAVE_FREETYPE && !HAVE_XFT
* dispextern.h (struct face.extra) [HAVE_FREETYPE && !HAVE_XFT]: * font.h (syms_of_xftfont) [HAVE_FREETYPE && !HAVE_XFT]: Declare in this case too.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog7
-rw-r--r--src/dispextern.h4
-rw-r--r--src/font.h2
3 files changed, 10 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index c05083590af..39775eb675c 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,10 @@
12015-01-10 Paul Eggert <eggert@cs.ucla.edu>
2
3 Port to HAVE_FREETYPE && !HAVE_XFT
4 * dispextern.h (struct face.extra) [HAVE_FREETYPE && !HAVE_XFT]:
5 * font.h (syms_of_xftfont) [HAVE_FREETYPE && !HAVE_XFT]:
6 Declare in this case too.
7
12015-01-10 Eli Zaretskii <eliz@gnu.org> 82015-01-10 Eli Zaretskii <eliz@gnu.org>
2 9
3 * w32fns.c (Fw32_register_hot_key): Use XINT instead of XLI. 10 * w32fns.c (Fw32_register_hot_key): Use XINT instead of XLI.
diff --git a/src/dispextern.h b/src/dispextern.h
index 1a9aef103bd..161f252dd39 100644
--- a/src/dispextern.h
+++ b/src/dispextern.h
@@ -1716,8 +1716,8 @@ struct face
1716 attributes except the font. */ 1716 attributes except the font. */
1717 struct face *ascii_face; 1717 struct face *ascii_face;
1718 1718
1719#ifdef HAVE_XFT 1719#if defined HAVE_XFT || defined HAVE_FREETYPE
1720 /* Extra member that a font-driver uses privately. */ 1720/* Extra member that a font-driver uses privately. */
1721 void *extra; 1721 void *extra;
1722#endif 1722#endif
1723}; 1723};
diff --git a/src/font.h b/src/font.h
index d12ae2c09bb..5a3e38a2a6e 100644
--- a/src/font.h
+++ b/src/font.h
@@ -780,10 +780,10 @@ extern void syms_of_xfont (void);
780extern void syms_of_ftxfont (void); 780extern void syms_of_ftxfont (void);
781#ifdef HAVE_XFT 781#ifdef HAVE_XFT
782extern struct font_driver xftfont_driver; 782extern struct font_driver xftfont_driver;
783extern void syms_of_xftfont (void);
784#endif 783#endif
785#if defined HAVE_FREETYPE || defined HAVE_XFT 784#if defined HAVE_FREETYPE || defined HAVE_XFT
786extern struct font_driver ftxfont_driver; 785extern struct font_driver ftxfont_driver;
786extern void syms_of_xftfont (void);
787#endif 787#endif
788#ifdef HAVE_BDFFONT 788#ifdef HAVE_BDFFONT
789extern void syms_of_bdffont (void); 789extern void syms_of_bdffont (void);