From e02d8ad8d29ac102582a1a27bd652ec7a46dabbc Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 16 Apr 2013 19:54:58 +0200 Subject: [PATCH] output/roar: work around libroar's use of "new" --- src/output/RoarOutputPlugin.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/output/RoarOutputPlugin.cxx b/src/output/RoarOutputPlugin.cxx index 9d6c45917..9de89b22f 100644 --- a/src/output/RoarOutputPlugin.cxx +++ b/src/output/RoarOutputPlugin.cxx @@ -26,7 +26,11 @@ #include +/* libroar/services.h declares roar_service_stream::new - work around + this C++ problem */ +#define new _new #include +#undef new #undef G_LOG_DOMAIN #define G_LOG_DOMAIN "roaraudio"