Disable the PipeWire backend when compiling as C89.

The SPA headers are not compatible with C89 which means the PipeWire
backend is not usable.
This commit is contained in:
David Reid
2025-08-21 07:33:08 +10:00
parent f6453a1418
commit e826957a12
2 changed files with 9 additions and 3 deletions
@@ -13,6 +13,9 @@ Unfortunately PipeWire has a hard dependency on the above package, and because i
entirely of non-trivial inlined code, it's not possible to avoid this dependency. It's for
this reason the PipeWire backend cannot be included in miniaudio.h since it has a requirement
that it does not depend on external development packages.
The PipeWire backend cannot be used with `-std=c89`. This is because the SPA headers do not
support it.
*/
#ifndef miniaudio_backend_pipewire_h
#define miniaudio_backend_pipewire_h