fix mingw build

This commit is contained in:
Arvid Norberg 2012-09-08 19:21:31 +00:00
parent 9951724f16
commit f8f03431bb
1 changed files with 1 additions and 1 deletions

View File

@ -567,7 +567,7 @@ namespace libtorrent
char cwd[TORRENT_MAX_PATH];
if (getcwd(cwd, sizeof(cwd)) == 0) return "/";
#endif
#if defined TORRENT_WINDOWS && TORRENT_USE_WSTRING
#if defined TORRENT_WINDOWS && !defined TORRENT_MINGW && TORRENT_USE_WSTRING
return convert_from_wstring(cwd);
#else
return convert_from_native(cwd);