From 40760a44ce3e9ee56b5fd678d6d0c2ef53edb5ef Mon Sep 17 00:00:00 2001 From: Magnus Jonsson Date: Fri, 16 Jan 2004 02:15:51 +0000 Subject: [PATCH] *** empty log message *** --- include/libtorrent/file.hpp | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/include/libtorrent/file.hpp b/include/libtorrent/file.hpp index abde73efe..d7641f003 100755 --- a/include/libtorrent/file.hpp +++ b/include/libtorrent/file.hpp @@ -37,6 +37,7 @@ POSSIBILITY OF SUCH DAMAGE. #include #include +#include namespace libtorrent { @@ -50,17 +51,14 @@ namespace libtorrent { public: -#ifdef _MSC_VER - typedef _int64 size_type; -#else - typedef long long int size_type; -#endif + typedef boost::int64_t size_type; class seek_mode { friend file; - seek_mode(int v): m_val(v) {} - int m_val; + private: + seek_mode(int v): m_val(v) {} + int m_val; }; const static seek_mode begin;