more vc7 fixes and unicode fix in file.cpp

This commit is contained in:
Arvid Norberg
2006-01-09 00:07:00 +00:00
parent 01820e5579
commit c64393cb0e
2 changed files with 10 additions and 1 deletions

View File

@@ -43,6 +43,10 @@ POSSIBILITY OF SUCH DAMAGE.
typedef int mode_t;
#endif
#ifdef UNICODE
#include "libtorrent/storage.hpp"
#endif
#else
// unix part
#define _FILE_OFFSET_BITS 64
@@ -71,6 +75,10 @@ BOOST_STATIC_ASSERT(sizeof(lseek(0, 0, 0)) >= 8);
#define O_RANDOM 0
#endif
#ifdef UNICODE
#include "libtorrent/storage.hpp"
#endif
namespace fs = boost::filesystem;