forked from premiere/premiere-libtorrent
*** empty log message ***
This commit is contained in:
parent
ee5b175e3e
commit
614d459f87
|
@ -65,6 +65,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
#include <boost/cstdint.hpp>
|
||||||
|
|
||||||
namespace libtorrent
|
namespace libtorrent
|
||||||
{
|
{
|
||||||
|
@ -108,15 +109,8 @@ namespace libtorrent
|
||||||
typedef std::map<std::string, entry> dictionary_type;
|
typedef std::map<std::string, entry> dictionary_type;
|
||||||
typedef std::string string_type;
|
typedef std::string string_type;
|
||||||
typedef std::vector<entry> list_type;
|
typedef std::vector<entry> list_type;
|
||||||
#if defined(_MSC_VER) && _MSC_VER >= 1300
|
|
||||||
typedef __int64 integer_type;
|
typedef boost::int64_t integer_type;
|
||||||
#elif defined(_MSC_VER)
|
|
||||||
typedef int integer_type;
|
|
||||||
#elif defined(__GNUC__)
|
|
||||||
typedef long long integer_type;
|
|
||||||
#else
|
|
||||||
typedef long integer_type;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
enum data_type
|
enum data_type
|
||||||
{
|
{
|
||||||
|
|
|
@ -38,6 +38,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||||
#include <boost/limits.hpp>
|
#include <boost/limits.hpp>
|
||||||
#include <boost/filesystem/path.hpp>
|
#include <boost/filesystem/path.hpp>
|
||||||
#include <boost/thread.hpp>
|
#include <boost/thread.hpp>
|
||||||
|
#include <boost/cstdint.hpp>
|
||||||
|
|
||||||
#include "libtorrent/entry.hpp"
|
#include "libtorrent/entry.hpp"
|
||||||
#include "libtorrent/torrent_info.hpp"
|
#include "libtorrent/torrent_info.hpp"
|
||||||
|
@ -68,7 +69,7 @@ namespace libtorrent
|
||||||
|
|
||||||
void swap(storage&);
|
void swap(storage&);
|
||||||
|
|
||||||
typedef entry::integer_type size_type;
|
typedef boost::int64_t size_type;
|
||||||
|
|
||||||
size_type read(char* buf, int slot, size_type offset, size_type size);
|
size_type read(char* buf, int slot, size_type offset, size_type size);
|
||||||
void write(const char* buf, int slot, size_type offset, size_type size);
|
void write(const char* buf, int slot, size_type offset, size_type size);
|
||||||
|
@ -81,7 +82,7 @@ namespace libtorrent
|
||||||
class piece_manager : boost::noncopyable
|
class piece_manager : boost::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
typedef entry::integer_type size_type;
|
typedef boost::int64_t size_type;
|
||||||
|
|
||||||
piece_manager(
|
piece_manager(
|
||||||
const torrent_info& info
|
const torrent_info& info
|
||||||
|
|
Loading…
Reference in New Issue