diff --git a/include/libtorrent/utp_stream.hpp b/include/libtorrent/utp_stream.hpp index 14f317cc8..e248c4823 100644 --- a/include/libtorrent/utp_stream.hpp +++ b/include/libtorrent/utp_stream.hpp @@ -70,7 +70,8 @@ namespace libtorrent void set_utp_stream_logging(bool enable); #endif - bool compare_less_wrap(boost::uint32_t lhs, boost::uint32_t rhs, boost::uint32_t mask); + TORRENT_EXTRA_EXPORT bool compare_less_wrap(boost::uint32_t lhs + , boost::uint32_t rhs, boost::uint32_t mask); struct utp_socket_manager; diff --git a/src/utp_stream.cpp b/src/utp_stream.cpp index f706acbb9..d4361d536 100644 --- a/src/utp_stream.cpp +++ b/src/utp_stream.cpp @@ -159,7 +159,8 @@ enum // into account. if lhs is close to UINT_MAX and rhs // is close to 0, lhs is assumed to have wrapped and // considered smaller -TORRENT_EXTRA_EXPORT bool compare_less_wrap(boost::uint32_t lhs, boost::uint32_t rhs, boost::uint32_t mask) +TORRENT_EXTRA_EXPORT bool compare_less_wrap(boost::uint32_t lhs + , boost::uint32_t rhs, boost::uint32_t mask) { // distance walking from lhs to rhs, downwards boost::uint32_t dist_down = (lhs - rhs) & mask;