From 7f160e42a5b4ecfe8af5c131d98c9c787bd78def Mon Sep 17 00:00:00 2001 From: John Sebastian Peterson Date: Mon, 9 Mar 2015 23:29:22 +0100 Subject: [PATCH] fix c++/cx interface name conflict in alerts --- include/libtorrent/alert_types.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/libtorrent/alert_types.hpp b/include/libtorrent/alert_types.hpp index 17dc08494..33bce2873 100644 --- a/include/libtorrent/alert_types.hpp +++ b/include/libtorrent/alert_types.hpp @@ -56,6 +56,9 @@ POSSIBILITY OF SUCH DAMAGE. #pragma GCC diagnostic ignored "-Wdeprecated-declarations" #endif +// c++/cx keyword +#undef interface + namespace libtorrent {