diff options
author | Tor Lillqvist <tml@iki.fi> | 2009-07-21 10:10:27 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2009-07-21 10:17:34 +0300 |
commit | 4fb1de63b836c08e7f92e0d696d25c45985fa0d3 (patch) | |
tree | b3925d170c9680c18a8380fd11197df7b44c2fb9 /pango | |
parent | a7d12be6599f9e833cc1e623c8c103128adee8f2 (diff) | |
download | pango-4fb1de63b836c08e7f92e0d696d25c45985fa0d3.tar.gz |
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.
Diffstat (limited to 'pango')
-rw-r--r-- | pango/pango-utils.c | 4 |
1 files 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 |