more wide character and mingw fixes

This commit is contained in:
Arvid Norberg
2010-02-15 05:49:10 +00:00
parent 23881fb0ff
commit 08c8bfae29
6 changed files with 53 additions and 30 deletions

View File

@@ -547,7 +547,7 @@ namespace libtorrent
return true;
}
#if defined TORRENT_WINDOWS && TORRENT_USE_WSTRING && defined UNICODE
#if defined TORRENT_WINDOWS && TORRENT_USE_WSTRING
std::wstring convert_to_wstring(std::string const& s)
{
std::wstring ret;