diff options
author | Max Kellermann <max@duempel.org> | 2013-04-16 19:54:58 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-04-16 20:04:11 +0200 |
commit | e02d8ad8d29ac102582a1a27bd652ec7a46dabbc (patch) | |
tree | c02d966c10abf988fb1bcb0938179913ea6d362f /src | |
parent | d300e6bf212f35c9a64369a4acc760a79adec013 (diff) | |
download | mpd-e02d8ad8d29ac102582a1a27bd652ec7a46dabbc.tar.gz mpd-e02d8ad8d29ac102582a1a27bd652ec7a46dabbc.tar.xz mpd-e02d8ad8d29ac102582a1a27bd652ec7a46dabbc.zip |
output/roar: work around libroar's use of "new"
Diffstat (limited to '')
-rw-r--r-- | src/output/RoarOutputPlugin.cxx | 4 |
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" |