diff options
author | Hans Breuer <hans@breuer.org> | 2001-11-03 11:37:51 +0000 |
---|---|---|
committer | Hans Breuer <hans@src.gnome.org> | 2001-11-03 11:37:51 +0000 |
commit | 29a68a3b824a279f39b274af96244fb9c6665839 (patch) | |
tree | 5ac14cba7d953d9cced6211ca07502998337b155 /pango/modules.c | |
parent | b851a3c13af7e7cd4750fa7df1f80782415a0c54 (diff) | |
download | pango-29a68a3b824a279f39b274af96244fb9c6665839.tar.gz |
don't bother with module dir recalculation if LIBDIR isn't defined
2001-11-03 Hans Breuer <hans@breuer.org>
* pango/modules.c : don't bother with module dir
recalculation if LIBDIR isn't defined
* pango/pangowin32-fontmap.c : make it compile again
after the g_ascii_* change below. Use EnumFontFamiliesExA
to ensure to use the ascii version, though defining
UNICODE for G_OS_WIN32 will break at other place anyway.
* pango/makefile.msc : use (hopefully temporary) DIRENT_CFLAGS
and DIRENT_LIBS (see #63667)
Diffstat (limited to 'pango/modules.c')
-rw-r--r-- | pango/modules.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/modules.c b/pango/modules.c index b7868dbb..feabb0c3 100644 --- a/pango/modules.c +++ b/pango/modules.c @@ -244,7 +244,7 @@ process_module_file (FILE *module_file) { case 0: pair->load_info = g_strdup (tmp_buf->str); -#ifdef G_OS_WIN32 +#if defined(G_OS_WIN32) && defined(LIBDIR) if (strncmp (pair->load_info, LIBDIR "/pango/modules/", strlen (LIBDIR "/pango/modules/")) == 0) |