diff --git a/src/charset.c b/src/charset.c
index 69e15eb6e042b6047ac52bbec4be8a6f8041e51a..b948636f03c57e4ab31789ab42c02c535bb1058a 100644 (file)
--- a/src/charset.c
+++ b/src/charset.c
#include <string.h>
#include <glib.h>
-#if defined(HAVE_LOCALE_H) && !defined(NCMPC_MINI)
+#ifdef ENABLE_LOCALE
static bool noconvert = true;
static const char *charset;
char *
utf8_to_locale(const char *utf8str)
{
-#if defined(HAVE_LOCALE_H) && !defined(NCMPC_MINI)
+#ifdef ENABLE_LOCALE
gchar *str;
assert(utf8str != NULL);
char *
locale_to_utf8(const char *localestr)
{
-#if defined(HAVE_LOCALE_H) && !defined(NCMPC_MINI)
+#ifdef ENABLE_LOCALE
gchar *str;
assert(localestr != NULL);