lt sync 3006

This commit is contained in:
Andrew Resch 2008-12-01 01:13:28 +00:00
parent d5f2a4d25f
commit 67c6758ecf
3 changed files with 9 additions and 0 deletions

View File

@ -33,6 +33,11 @@ POSSIBILITY OF SUCH DAMAGE.
#ifndef TORRENT_ASSERT
#include "libtorrent/config.hpp"
#if !defined TORRENT_DEBUG
#define TORRENT_ASSERT(a) do {} while(false)
#else
#include <string>
#ifdef __GNUC__
@ -51,3 +56,5 @@ TORRENT_EXPORT void assert_fail(const char* expr, int line, char const* file, ch
#endif
#endif

View File

@ -38,6 +38,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include "libtorrent/assert.hpp"
#include "libtorrent/size_type.hpp"
#include <iosfwd>
#include <string>
namespace libtorrent
{

View File

@ -35,6 +35,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include "zlib.h"
#include <vector>
#include <string>
namespace
{