premiere-libtorrent/src/asio_ssl.cpp

24 lines
556 B
C++
Raw Normal View History

2012-03-16 08:45:27 +01:00
// builds all boost.asio SSL source as a separate compilation unit
2012-04-11 19:39:13 +02:00
#include <boost/version.hpp>
2014-05-25 02:13:17 +02:00
#include <climits>
2012-04-11 19:39:13 +02:00
2014-12-02 11:18:07 +01:00
#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
#undef BOOST_ASIO_DECL
2014-12-02 11:18:07 +01:00
#define BOOST_ASIO_DECL BOOST_SYMBOL_EXPORT
#endif
2012-04-11 19:39:13 +02:00
#if BOOST_VERSION >= 104610
2012-03-16 08:45:27 +01:00
#include <boost/asio/ssl/impl/src.hpp>
2012-04-11 19:39:13 +02:00
#endif
2012-03-16 08:45:27 +01:00