aboutsummaryrefslogtreecommitdiffstats
path: root/src/output
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/output/RoarOutputPlugin.cxx4
1 files changed, 4 insertions, 0 deletions
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 <glib.h>
+/* libroar/services.h declares roar_service_stream::new - work around
+ this C++ problem */
+#define new _new
#include <roaraudio.h>
+#undef new
#undef G_LOG_DOMAIN
#define G_LOG_DOMAIN "roaraudio"