diff --git a/ChangeLog b/ChangeLog index 3332182ea..0f73884e6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -79,6 +79,7 @@ incoming connection * added more detailed instrumentation of the disk I/O thread + * fixed mingw build * fixed minor bug in metadata block requester (for magnet links) * fixed race condition in iconv string converter * fixed error handling in torrent_info constructor diff --git a/src/file.cpp b/src/file.cpp index 0038db640..17fb1ff7d 100644 --- a/src/file.cpp +++ b/src/file.cpp @@ -46,6 +46,10 @@ POSSIBILITY OF SUCH DAMAGE. #ifdef TORRENT_WINDOWS // windows part +#ifndef PtrToPtr64 +#define PtrToPtr64(x) (x) +#endif + #include "libtorrent/utf8.hpp" #ifndef WIN32_LEAN_AND_MEAN