merged large file fix from RC_0_16

This commit is contained in:
Arvid Norberg 2013-11-08 08:10:22 +00:00
parent dafa812109
commit ad86431caf
2 changed files with 4 additions and 1 deletions

View File

@ -25,6 +25,7 @@
* fix uTP edge case where udp socket buffer fills up
* fix nagle implementation in uTP
* fix large file support issue on mingw
* add some error handling to set_piece_hashes()
* fix completed-on timestamp to not be clobbered on each startup
* fix deadlock caused by some UDP tracker failures

View File

@ -34,6 +34,9 @@ POSSIBILITY OF SUCH DAMAGE.
Physical file offset patch by Morten Husveit
*/
#define _FILE_OFFSET_BITS 64
#define _LARGE_FILES 1
#include "libtorrent/pch.hpp"
#include "libtorrent/config.hpp"
#include "libtorrent/alloca.hpp"
@ -68,7 +71,6 @@ POSSIBILITY OF SUCH DAMAGE.
#else
// posix part
#define _FILE_OFFSET_BITS 64
#include <unistd.h>
#include <fcntl.h> // for F_LOG2PHYS
#include <sys/types.h>