added the ability to build libtorrent as a shared library. Fixed bugs with deleting of incomplete types (replaced auto_ptr with scoped_ptr). Made the string converter fall back on windows local code page if utf-8 decoding failed.
This commit is contained in:
@@ -32,6 +32,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
#include <algorithm>
|
||||
#include "libtorrent/entry.hpp"
|
||||
#include "libtorrent/config.hpp"
|
||||
#include <boost/bind.hpp>
|
||||
#include <boost/next_prior.hpp>
|
||||
|
||||
@@ -70,7 +71,7 @@ namespace libtorrent
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
char const* integer_to_str(char* buf, int size, entry::integer_type val)
|
||||
TORRENT_EXPORT char const* integer_to_str(char* buf, int size, entry::integer_type val)
|
||||
{
|
||||
int sign = 0;
|
||||
if (val < 0)
|
||||
|
Reference in New Issue
Block a user