twisterp2pnetworkbittorrentblockchainipv6microbloggingdecentralizedsocial-networkdhttwister-ipv6twister-coretwisterarmyp2p-networktwister-server
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
571 B
24 lines
571 B
11 years ago
|
// builds all boost.asio source as a separate compilation unit
|
||
|
#include <boost/version.hpp>
|
||
|
|
||
|
#ifndef BOOST_ASIO_SOURCE
|
||
|
#define BOOST_ASIO_SOURCE
|
||
|
#endif
|
||
|
|
||
|
#include "libtorrent/config.hpp"
|
||
|
|
||
|
#define TORRENT_HAS_ASIO_DECL x ## BOOST_ASIO_DECL
|
||
|
|
||
|
// only define BOOST_ASIO_DECL if it hasn't already been defined
|
||
|
// or if it has been defined to an empty string
|
||
|
#if TORRENT_HAS_ASIO_DECL == x
|
||
|
#define BOOST_ASIO_DECL BOOST_SYMBOL_EXPORT
|
||
|
#endif
|
||
|
|
||
|
#if BOOST_VERSION >= 104500
|
||
|
#include <boost/asio/impl/src.hpp>
|
||
|
#elif BOOST_VERSION >= 104400
|
||
|
#include <boost/asio/impl/src.cpp>
|
||
|
#endif
|
||
|
|