fixed mingw build

This commit is contained in:
Arvid Norberg 2011-02-02 07:41:32 +00:00
parent 90ad9ba7d9
commit ddd4d84a1d
2 changed files with 5 additions and 0 deletions

View File

@ -79,6 +79,7 @@
incoming connection incoming connection
* added more detailed instrumentation of the disk I/O thread * added more detailed instrumentation of the disk I/O thread
* fixed mingw build
* fixed minor bug in metadata block requester (for magnet links) * fixed minor bug in metadata block requester (for magnet links)
* fixed race condition in iconv string converter * fixed race condition in iconv string converter
* fixed error handling in torrent_info constructor * fixed error handling in torrent_info constructor

View File

@ -46,6 +46,10 @@ POSSIBILITY OF SUCH DAMAGE.
#ifdef TORRENT_WINDOWS #ifdef TORRENT_WINDOWS
// windows part // windows part
#ifndef PtrToPtr64
#define PtrToPtr64(x) (x)
#endif
#include "libtorrent/utf8.hpp" #include "libtorrent/utf8.hpp"
#ifndef WIN32_LEAN_AND_MEAN #ifndef WIN32_LEAN_AND_MEAN