output/roar: work around libroar's use of "new"

This commit is contained in:
Max Kellermann 2013-04-16 19:54:58 +02:00
parent d300e6bf21
commit e02d8ad8d2
1 changed files with 4 additions and 0 deletions

View File

@ -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"