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

@@ -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>