Fix dhewm3ded build with newer OpenAL Soft headers, fix #633

they introduced setting the functions noexcept, which my stubs aren't.
Luckily the headers allow disabling noexcept.
This commit is contained in:
Daniel Gibson 2024-12-01 00:13:15 +01:00
parent 3d921a0aa5
commit a04b1a5670

View file

@ -34,6 +34,7 @@ If you have questions concerning this license or the applicable additional terms
// because the implemenations are in openal_stub.cpp
// this is ensured by defining AL_LIBTYPE_STATIC before including the AL headers
#define AL_LIBTYPE_STATIC
#define AL_DISABLE_NOEXCEPT
#endif
#include <AL/al.h>