output/openal: disable -Wdeprecated-declarations on Apple
This commit is contained in:
parent
ae7d550a01
commit
2c084781b0
@ -29,6 +29,9 @@
|
||||
#else
|
||||
#include <OpenAL/al.h>
|
||||
#include <OpenAL/alc.h>
|
||||
/* on macOS, OpenAL is deprecated, but since the user asked to enable
|
||||
this plugin, let's ignore the compiler warnings */
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
#endif
|
||||
|
||||
class OpenALOutput final : AudioOutput {
|
||||
|
Loading…
Reference in New Issue
Block a user