aboutsummaryrefslogtreecommitdiffstats
path: root/src/charset.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-07 13:27:31 +0100
committerMax Kellermann <max@duempel.org>2008-11-07 13:27:31 +0100
commit54674384020f5d8019ca71f6c283d18ba32d5171 (patch)
tree8684aa7a9ccd18c808ad265e7c7bb9e283833cdc /src/charset.c
parent9e8806dadee58efe36151a6bca22d65487ed02ee (diff)
downloadmpd-54674384020f5d8019ca71f6c283d18ba32d5171.tar.gz
mpd-54674384020f5d8019ca71f6c283d18ba32d5171.tar.xz
mpd-54674384020f5d8019ca71f6c283d18ba32d5171.zip
disable more features with --enable-mini
Disable lots of smaller features which don't have a separate configure option: - xterm title - screen list - horizontal scrolling - MPD version number check - key binding checks - character set conversion - bitrate display - highlighting in the file browser - completion / history
Diffstat (limited to '')
-rw-r--r--src/charset.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/charset.c b/src/charset.c
index a0e8bbda4..69e15eb6e 100644
--- a/src/charset.c
+++ b/src/charset.c
@@ -23,7 +23,7 @@
#include <string.h>
#include <glib.h>
-#ifdef HAVE_LOCALE_H
+#if defined(HAVE_LOCALE_H) && !defined(NCMPC_MINI)
static bool noconvert = true;
static const char *charset;
@@ -62,7 +62,7 @@ utf8_width(const char *str)
char *
utf8_to_locale(const char *utf8str)
{
-#ifdef HAVE_LOCALE_H
+#if defined(HAVE_LOCALE_H) && !defined(NCMPC_MINI)
gchar *str;
assert(utf8str != NULL);
@@ -85,7 +85,7 @@ utf8_to_locale(const char *utf8str)
char *
locale_to_utf8(const char *localestr)
{
-#ifdef HAVE_LOCALE_H
+#if defined(HAVE_LOCALE_H) && !defined(NCMPC_MINI)
gchar *str;
assert(localestr != NULL);