more vc7 fixes and unicode fix in file.cpp
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user