diff --git a/include/libtorrent/storage.hpp b/include/libtorrent/storage.hpp index 80c631e49..0daa68682 100755 --- a/include/libtorrent/storage.hpp +++ b/include/libtorrent/storage.hpp @@ -62,8 +62,11 @@ namespace libtorrent class session; +#if defined(_WIN32) && defined(UNICODE) TORRENT_EXPORT std::wstring safe_convert(std::string const& s); + +#endif TORRENT_EXPORT std::vector > get_filesizes( torrent_info const& t