forked from premiere/premiere-libtorrent
workaround bug in asio in boost-1.39
This commit is contained in:
parent
277262b9b0
commit
8b1e55d28a
|
@ -157,6 +157,9 @@ endif (NOT Boost_VERSION LESS 103500)
|
|||
include_directories(${Boost_INCLUDE_DIR})
|
||||
target_link_libraries(torrent-rasterbar ${Boost_LIBRARIES})
|
||||
|
||||
# this works around a bug in asio in boost-1.39
|
||||
add_definitions(-DBOOST_ASIO_HASH_MAP_BUCKETS=1021)
|
||||
|
||||
if (WIN32)
|
||||
target_link_libraries(torrent-rasterbar wsock32 ws2_32)
|
||||
endif (WIN32)
|
||||
|
|
2
Jamfile
2
Jamfile
|
@ -449,6 +449,8 @@ local usage-requirements =
|
|||
<toolset>gcc:<cflags>-Wno-missing-braces
|
||||
<boost>system:<cxxflags>$(CXXFLAGS)
|
||||
<boost>system:<linkflags>$(LDFLAGS)
|
||||
# this works around a bug in asio in boost-1.39
|
||||
<define>BOOST_ASIO_HASH_MAP_BUCKETS=1021
|
||||
<tag>@tag
|
||||
;
|
||||
|
||||
|
|
|
@ -172,7 +172,9 @@ AC_ARG_WITH(
|
|||
[[logging=none]]
|
||||
)
|
||||
|
||||
COMPILETIME_OPTIONS=""
|
||||
# this works around a bug in asio in boost-1.39
|
||||
COMPILETIME_OPTIONS="-DBOOST_ASIO_HASH_MAP_BUCKETS=1024"
|
||||
|
||||
dnl Check the value for the --with-logging switch
|
||||
AC_MSG_CHECKING([what form of logging to use])
|
||||
case "$logging" in
|
||||
|
|
Loading…
Reference in New Issue