output/roar: work around libroar's use of "new"
This commit is contained in:
		| @@ -26,7 +26,11 @@ | |||||||
|  |  | ||||||
| #include <glib.h> | #include <glib.h> | ||||||
|  |  | ||||||
|  | /* libroar/services.h declares roar_service_stream::new - work around | ||||||
|  |    this C++ problem */ | ||||||
|  | #define new _new | ||||||
| #include <roaraudio.h> | #include <roaraudio.h> | ||||||
|  | #undef new | ||||||
|  |  | ||||||
| #undef G_LOG_DOMAIN | #undef G_LOG_DOMAIN | ||||||
| #define G_LOG_DOMAIN "roaraudio" | #define G_LOG_DOMAIN "roaraudio" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Max Kellermann
					Max Kellermann