do not exclude iconv support if unicode is enabled

This commit is contained in:
Andrzej Rybczak
2009-01-17 14:10:44 +01:00
parent 7d82da3fed
commit fd5a3e142c
6 changed files with 37 additions and 19 deletions

View File

@@ -77,7 +77,7 @@ string Song::GetLength() const
void Song::Localize()
{
# if !defined(_UTF8) && defined(HAVE_ICONV_H)
# if defined(SUPPORTED_LOCALES) && defined(HAVE_ICONV_H)
if (isLocalised)
return;
str_pool_utf_to_locale(itsSong->file);
@@ -94,7 +94,7 @@ void Song::Localize()
str_pool_utf_to_locale(itsSong->disc);
str_pool_utf_to_locale(itsSong->comment);
isLocalised = 1;
# endif // !_UTF8 && HAVE_ICONV_H
# endif // SUPPORTED_LOCALES && HAVE_ICONV_H
}
/*void Song::Delocalize()