hide cx keyword from winrt

instead of a hacky undef that break the keyword
This commit is contained in:
John Sebastian Peterson 2015-07-04 05:57:04 +02:00
parent bb25acd661
commit cc67c60938
1 changed files with 1 additions and 4 deletions

View File

@ -56,9 +56,6 @@ POSSIBILITY OF SUCH DAMAGE.
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif
// c++/cx keyword
#undef interface
namespace libtorrent
{
@ -1282,7 +1279,7 @@ namespace libtorrent
virtual std::string message() const;
TORRENT_NOT_DISCARDABLE
#ifndef TORRENT_NO_DEPRECATE
#if !defined(TORRENT_NO_DEPRECATE) && !defined(TORRENT_WINRT)
// the interface libtorrent attempted to listen on
std::string interface;
#endif