changed include order of boost headers to workaround namespace bug on msvc 7

This commit is contained in:
Arvid Norberg 2006-01-11 01:32:26 +00:00
parent 2d70a9b5bf
commit 7eb9812cfa
4 changed files with 6 additions and 3 deletions

View File

@ -35,6 +35,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include <string>
#include <fstream>
#include <iostream>
#ifdef _MSC_VER
#pragma warning(push, 1)

View File

@ -39,6 +39,8 @@ POSSIBILITY OF SUCH DAMAGE.
#include <deque>
#include <string>
#include "libtorrent/debug.hpp"
#ifdef _MSC_VER
#pragma warning(push, 1)
#endif
@ -59,7 +61,6 @@ POSSIBILITY OF SUCH DAMAGE.
#include "libtorrent/peer_id.hpp"
#include "libtorrent/storage.hpp"
#include "libtorrent/stat.hpp"
#include "libtorrent/debug.hpp"
#include "libtorrent/alert.hpp"
#include "libtorrent/torrent_handle.hpp"
#include "libtorrent/torrent.hpp"

View File

@ -38,8 +38,8 @@ POSSIBILITY OF SUCH DAMAGE.
#include "libtorrent/piece_picker.hpp"
#ifndef NDEBUG
#include "libtorrent/torrent.hpp"
#include "libtorrent/peer_connection.hpp"
#include "libtorrent/torrent.hpp"
#endif
namespace libtorrent

View File

@ -32,6 +32,8 @@ POSSIBILITY OF SUCH DAMAGE.
#include <iostream>
#include "libtorrent/peer_connection.hpp"
#ifdef _MSC_VER
#pragma warning(push, 1)
#endif
@ -46,7 +48,6 @@ POSSIBILITY OF SUCH DAMAGE.
#include "libtorrent/policy.hpp"
#include "libtorrent/torrent.hpp"
#include "libtorrent/socket.hpp"
#include "libtorrent/peer_connection.hpp"
#include "libtorrent/alert_types.hpp"
#include "libtorrent/invariant_check.hpp"