aboutsummaryrefslogtreecommitdiffstats
path: root/src/fs
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-11-30 20:35:26 +0100
committerMax Kellermann <max@duempel.org>2014-11-30 20:35:26 +0100
commit6eb1caa417187d0321b64fc17386d0cad3078614 (patch)
tree1d61828184301e955cc6daf13796737aee8e7f01 /src/fs
parent41efc1376efe8a137115151109c6874cc1b2b116 (diff)
downloadmpd-6eb1caa417187d0321b64fc17386d0cad3078614.tar.gz
mpd-6eb1caa417187d0321b64fc17386d0cad3078614.tar.xz
mpd-6eb1caa417187d0321b64fc17386d0cad3078614.zip
fs/Config: add HAVE_GLIB check
Diffstat (limited to 'src/fs')
-rw-r--r--src/fs/Config.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/Config.cxx b/src/fs/Config.cxx
index a26699a6d..7b0da061a 100644
--- a/src/fs/Config.cxx
+++ b/src/fs/Config.cxx
@@ -46,7 +46,7 @@ ConfigureFS(Error &error)
static char win_charset[13];
sprintf(win_charset, "cp%u", GetACP());
charset = win_charset;
-#else
+#elif defined(HAVE_GLIB)
const gchar **encodings;
g_get_filename_charsets(&encodings);