forked from premiere/premiere-libtorrent
more msvc fixes
This commit is contained in:
parent
84849f3afd
commit
91197005e9
|
@ -35,10 +35,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
|
||||
#include "libtorrent/entry.hpp"
|
||||
#include <vector>
|
||||
|
||||
#ifndef TORRENT_NO_DEPRECATE
|
||||
#include <boost/smart_ptr.hpp>
|
||||
#endif
|
||||
|
||||
// OVERVIEW
|
||||
//
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
// builds all boost.asio source as a separate compilation unit
|
||||
#include <boost/version.hpp>
|
||||
#include <boost/preprocessor/facilities/is_empty.hpp>
|
||||
|
||||
#include "libtorrent/config.hpp"
|
||||
|
||||
// only define BOOST_ASIO_DECL if it hasn't already been defined
|
||||
// or if it has been defined to an empty string
|
||||
#define TORRENT_IS_EMPTY_IMPL(VAL) VAL ## 1
|
||||
#define TORRENT_IS_EMPTY(VAL) TORRENT_IS_EMPTY_IMPL(VAL)
|
||||
|
||||
#if !defined BOOST_ASIO_DECL || TORRENT_IS_EMPTY(BOOST_ASIO_DECL) == 1
|
||||
#if !defined BOOST_ASIO_DECL || !BOOST_PP_IS_EMPTY(BOOST_ASIO_DECL)
|
||||
#ifdef BOOST_ASIO_DECL
|
||||
#undef BOOST_ASIO_DECL
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue