Bug 588060 -- Fonts missing on Cygwin
authorTor Lillqvist <tml@iki.fi>
Tue, 21 Jul 2009 07:10:27 +0000 (10:10 +0300)
committerTor Lillqvist <tml@iki.fi>
Tue, 21 Jul 2009 07:10:27 +0000 (10:10 +0300)
Use HAVE_CAIRO_WIN32 instead of G_OS_WIN32 to decide whether to
use the built-in aliases code.

pango/pango-utils.c

index 9801a30..100dbc7 100644 (file)
@@ -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