some more FreeBSD fixes

This commit is contained in:
Arvid Norberg 2012-04-15 02:20:23 +00:00
parent 7cf7243021
commit 7f19e0d976
2 changed files with 4 additions and 1 deletions

View File

@ -172,6 +172,9 @@ POSSIBILITY OF SUCH DAMAGE.
#define TORRENT_USE_LOCALE 0
#define TORRENT_CLOSE_MAY_BLOCK 1
#endif
#else
// FreeBSD has a reasonable iconv signature
#define TORRENT_ICONV_ARG (const char**)
#endif
#define TORRENT_HAS_FALLOCATE 0
#define TORRENT_USE_IFADDRS 1

View File

@ -1,7 +1,7 @@
// builds all boost.asio source as a separate compilation unit
#include <boost/version.hpp>
#if BOOST_VERSION >= 104610
#if BOOST_VERSION >= 104500
#include <boost/asio/impl/src.hpp>
#endif