From 8888c1c1ba25f1c527c4e7aeb7f426e20329b165 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 21 Jul 2009 10:10:27 +0300 Subject: Bug 588060 -- Fonts missing on Cygwin Use HAVE_CAIRO_WIN32 instead of G_OS_WIN32 to decide whether to use the built-in aliases code. --- pango/pango-utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pango/pango-utils.c b/pango/pango-utils.c index 9801a305..100dbc7a 100644 --- a/pango/pango-utils.c +++ b/pango/pango-utils.c @@ -967,7 +967,7 @@ handle_alias_line (GString *line_buffer, g_string_free (tmp_buffer2, TRUE); } -#ifdef G_OS_WIN32 +#ifdef HAVE_CAIRO_WIN32 static const char *builtin_aliases[] = { "courier = \"courier new\"", @@ -1061,7 +1061,7 @@ pango_load_aliases (void) (GDestroyNotify)alias_free, NULL); -#ifdef G_OS_WIN32 +#ifdef HAVE_CAIRO_WIN32 read_builtin_aliases (); #endif -- cgit v1.2.1