mirror of
https://github.com/irssi/irssi.git
synced 2024-09-01 04:14:16 -04:00
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
This commit is contained in:
parent
3cdf50170f
commit
a7b0e6b3f2
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user