From 125daea16a92af46b0e68c9583511a5f25f4d850 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 29 Nov 2014 23:35:49 +0100 Subject: fs/Charset: add macro HAVE_FS_CHARSET --- src/fs/AllocatedPath.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fs/AllocatedPath.cxx') 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(); -- cgit v1.2.3