diff options
author | Emanuele Giaquinta <exg@irssi.org> | 2006-09-20 23:11:17 +0000 |
---|---|---|
committer | exg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2006-09-20 23:11:17 +0000 |
commit | a7b0e6b3f22208537509a1748b4e3d31ce6eda4c (patch) | |
tree | aac62f095c7ec9eba9f04e219c43a45ac07b45de /src | |
parent | 3cdf50170ff5117a3d250ea04477ebdbc1d4bbba (diff) | |
download | irssi-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.c | 2 |
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) { |