fixes to windows build

This commit is contained in:
Arvid Norberg 2009-11-26 16:25:39 +00:00
parent c6333e147c
commit f42f4641a6
3 changed files with 3 additions and 3 deletions

View File

@ -42,7 +42,7 @@ POSSIBILITY OF SUCH DAMAGE.
namespace libtorrent namespace libtorrent
{ {
struct torrent_info; class torrent_info;
struct add_torrent_params struct add_torrent_params
{ {

View File

@ -55,7 +55,7 @@ POSSIBILITY OF SUCH DAMAGE.
#ifndef WIN32_LEAN_AND_MEAN #ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN
#endif #endif
#include <winbase.h> #include <windows.h>
#include <winioctl.h> #include <winioctl.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>

View File

@ -39,7 +39,7 @@ POSSIBILITY OF SUCH DAMAGE.
namespace libtorrent namespace libtorrent
{ {
struct storage_interface; struct storage_interface;
struct file_storage; class file_storage;
struct file_pool; struct file_pool;
enum storage_mode_t enum storage_mode_t