diff --git a/ChangeLog b/ChangeLog index 92945e82f..e322d8b3c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,4 @@ + * fixed problem with file_size() when building on windows with unicode support * added a new torrent state, allocating * added a new alert, metadata_failed_alert * changed the interface to session::add_torrent for soem speed optimizations. diff --git a/src/storage.cpp b/src/storage.cpp index e3ecb7ece..6ec7aa0e2 100755 --- a/src/storage.cpp +++ b/src/storage.cpp @@ -153,7 +153,7 @@ namespace ::GetFileExInfoStandard, &fad ) ) boost::throw_exception( filesystem_error( "boost::filesystem::file_size", - ph, fs::detail::system_error_code() ) ); + ph, detail::system_error_code() ) ); if ( (fad.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) !=0 ) boost::throw_exception( filesystem_error( "boost::filesystem::file_size",