Avoid a warning if BOOST_ASIO_DECL was defined but empty.
This commit is contained in:
parent
4853d0250f
commit
08a6ba4161
|
@ -13,6 +13,7 @@
|
||||||
// only define BOOST_ASIO_DECL if it hasn't already been defined
|
// only define BOOST_ASIO_DECL if it hasn't already been defined
|
||||||
// or if it has been defined to an empty string
|
// or if it has been defined to an empty string
|
||||||
#if TORRENT_HAS_ASIO_DECL == x
|
#if TORRENT_HAS_ASIO_DECL == x
|
||||||
|
#undef BOOST_ASIO_DECL
|
||||||
#define BOOST_ASIO_DECL BOOST_SYMBOL_EXPORT
|
#define BOOST_ASIO_DECL BOOST_SYMBOL_EXPORT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue