output/openal: disable -Wdeprecated-declarations on Apple

This commit is contained in:
Max Kellermann 2020-05-28 13:22:33 +02:00
parent ae7d550a01
commit 2c084781b0
1 changed files with 3 additions and 0 deletions

View File

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