aboutsummaryrefslogtreecommitdiffstats
path: root/src/fs/Charset.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-06-22 22:20:10 +0200
committerMax Kellermann <max@duempel.org>2015-06-22 22:20:10 +0200
commit73bd6af0f9f1ce9c535ff0a4227e29df3631eb45 (patch)
tree43f864c635b5fa76679e027103e524c75d474b82 /src/fs/Charset.hxx
parent2aa54c53653abda99c72bfb007c3442a1c3c6d60 (diff)
downloadmpd-73bd6af0f9f1ce9c535ff0a4227e29df3631eb45.tar.gz
mpd-73bd6af0f9f1ce9c535ff0a4227e29df3631eb45.tar.xz
mpd-73bd6af0f9f1ce9c535ff0a4227e29df3631eb45.zip
fs/Charset: hard-code Windows to ACP
Don't define HAVE_FS_CHARSET, and make GetFSCharset() return "ACP" instead of "UTF-8". Ignore the configuration setting, which had no effect anyway.
Diffstat (limited to '')
-rw-r--r--src/fs/Charset.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/Charset.hxx b/src/fs/Charset.hxx
index 49ad07820..9d119fea7 100644
--- a/src/fs/Charset.hxx
+++ b/src/fs/Charset.hxx
@@ -24,7 +24,7 @@
#include "Compiler.h"
#include "Traits.hxx"
-#if defined(HAVE_ICU) || defined(HAVE_GLIB)
+#if (defined(HAVE_ICU) || defined(HAVE_GLIB)) && !defined(WIN32)
#define HAVE_FS_CHARSET
#endif