forked from premiere/premiere-libtorrent
hide cx keyword from winrt
instead of a hacky undef that break the keyword
This commit is contained in:
parent
bb25acd661
commit
cc67c60938
|
@ -56,9 +56,6 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// c++/cx keyword
|
|
||||||
#undef interface
|
|
||||||
|
|
||||||
namespace libtorrent
|
namespace libtorrent
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -1282,7 +1279,7 @@ namespace libtorrent
|
||||||
virtual std::string message() const;
|
virtual std::string message() const;
|
||||||
TORRENT_NOT_DISCARDABLE
|
TORRENT_NOT_DISCARDABLE
|
||||||
|
|
||||||
#ifndef TORRENT_NO_DEPRECATE
|
#if !defined(TORRENT_NO_DEPRECATE) && !defined(TORRENT_WINRT)
|
||||||
// the interface libtorrent attempted to listen on
|
// the interface libtorrent attempted to listen on
|
||||||
std::string interface;
|
std::string interface;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue