aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/icu/Converter.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-06-26 16:51:18 +0200
committerMax Kellermann <max@duempel.org>2015-06-26 16:51:18 +0200
commit3fa4dad418a5235e5bd7990e3fe755a43fe987e7 (patch)
tree4066d36e37bfbd7357e293ad356fe11780d89629 /src/lib/icu/Converter.hxx
parent0756607e32ff7f8df3ad21368e00c7e4e60ba203 (diff)
downloadmpd-3fa4dad418a5235e5bd7990e3fe755a43fe987e7.tar.gz
mpd-3fa4dad418a5235e5bd7990e3fe755a43fe987e7.tar.xz
mpd-3fa4dad418a5235e5bd7990e3fe755a43fe987e7.zip
lib/icu/Converter: remove GLib implementation
We don't need this anymore: Win32 doesn't use this library at all, and everything else has either iconv() or libicu.
Diffstat (limited to 'src/lib/icu/Converter.hxx')
-rw-r--r--src/lib/icu/Converter.hxx13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/lib/icu/Converter.hxx b/src/lib/icu/Converter.hxx
index d7a9a2113..edb092d8f 100644
--- a/src/lib/icu/Converter.hxx
+++ b/src/lib/icu/Converter.hxx
@@ -29,9 +29,6 @@
#elif defined(HAVE_ICONV)
#include <iconv.h>
#define HAVE_ICU_CONVERTER
-#elif defined(HAVE_GLIB)
-#include <glib.h>
-#define HAVE_ICU_CONVERTER
#endif
#ifdef HAVE_ICU_CONVERTER
@@ -64,11 +61,6 @@ class IcuConverter {
IcuConverter(iconv_t _to, iconv_t _from)
:to_utf8(_to), from_utf8(_from) {}
-#elif defined(HAVE_GLIB)
- const GIConv to_utf8, from_utf8;
-
- IcuConverter(GIConv _to, GIConv _from)
- :to_utf8(_to), from_utf8(_from) {}
#endif
public:
@@ -79,11 +71,6 @@ public:
iconv_close(to_utf8);
iconv_close(from_utf8);
}
-#elif defined(HAVE_GLIB)
- ~IcuConverter() {
- g_iconv_close(to_utf8);
- g_iconv_close(from_utf8);
- }
#endif
static IcuConverter *Create(const char *charset, Error &error);