summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/recode.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/recode.c b/src/core/recode.c
index d15fc90b..0bcb24e3 100644
--- a/src/core/recode.c
+++ b/src/core/recode.c
@@ -46,12 +46,14 @@ gboolean is_utf8(void)
return recode_get_charset(&charset);
}
+#ifdef HAVE_GLIB2
static gboolean is_translit(const char *charset)
{
char *pos;
pos = stristr(charset, "//translit");
return (pos != NULL);
}
+#endif
gboolean is_valid_charset(const char *charset)
{