forked from premiere/premiere-libtorrent
merged large file fix from RC_0_16
This commit is contained in:
parent
dafa812109
commit
ad86431caf
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue