changeset 92472:dba28a9d071a

Wrap in USE_FONT_BACKEND conditional
author Jason Rumney <jasonr@gnu.org>
date Tue, 04 Mar 2008 17:31:40 +0000
parents 06c0f69df116
children e403169c139a
files src/w32font.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32font.c	Tue Mar 04 13:29:18 2008 +0000
+++ b/src/w32font.c	Tue Mar 04 17:31:40 2008 +0000
@@ -18,6 +18,8 @@
 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 Boston, MA 02110-1301, USA.  */
 
+#ifdef USE_FONT_BACKEND
+
 #include <config.h>
 #include <windows.h>
 #include <math.h>
@@ -1845,6 +1847,7 @@
   w32font_driver.type = Qgdi;
   register_font_driver (&w32font_driver, NULL);
 }
+#endif /* USE_FONT_BACKEND  */
 
 /* arch-tag: 65b8a3cd-46aa-4c0d-a1f3-99e75b9c07ee
    (do not change this comment) */