aboutsummaryrefslogtreecommitdiffstats
path: root/src/fs/AllocatedPath.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-11-29 23:35:49 +0100
committerMax Kellermann <max@duempel.org>2014-11-29 23:36:44 +0100
commit125daea16a92af46b0e68c9583511a5f25f4d850 (patch)
treebaf1b696bc2d69dfdd2054d0147f3ac62b23b210 /src/fs/AllocatedPath.cxx
parentfd2c6b8a4b059bd810ca8511fa8f66001843284c (diff)
downloadmpd-125daea16a92af46b0e68c9583511a5f25f4d850.tar.gz
mpd-125daea16a92af46b0e68c9583511a5f25f4d850.tar.xz
mpd-125daea16a92af46b0e68c9583511a5f25f4d850.zip
fs/Charset: add macro HAVE_FS_CHARSET
Diffstat (limited to '')
-rw-r--r--src/fs/AllocatedPath.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/AllocatedPath.cxx b/src/fs/AllocatedPath.cxx
index 0f394dd6e..65dcff56f 100644
--- a/src/fs/AllocatedPath.cxx
+++ b/src/fs/AllocatedPath.cxx
@@ -45,7 +45,7 @@ AllocatedPath::~AllocatedPath() {}
AllocatedPath
AllocatedPath::FromUTF8(const char *path_utf8)
{
-#ifdef HAVE_GLIB
+#ifdef HAVE_FS_CHARSET
char *path = ::PathFromUTF8(path_utf8);
if (path == nullptr)
return AllocatedPath::Null();