Avoid a warning if BOOST_ASIO_DECL was defined but empty.

This commit is contained in:
Jakob Petsovits
2015-07-14 17:51:45 -04:00
parent 4853d0250f
commit 08a6ba4161

View File

@@ -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