summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@irssi.org>2006-09-20 23:11:17 +0000
committerexg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564>2006-09-20 23:11:17 +0000
commita7b0e6b3f22208537509a1748b4e3d31ce6eda4c (patch)
treeaac62f095c7ec9eba9f04e219c43a45ac07b45de /src
parent3cdf50170ff5117a3d250ea04477ebdbc1d4bbba (diff)
downloadirssi-a7b0e6b3f22208537509a1748b4e3d31ce6eda4c.zip
Make compilation of is_translit conditional on glib-2.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4369 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-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)
{