mirror of
https://github.com/dhewm/dhewm3.git
synced 2024-12-04 02:03:43 +00:00
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:
parent
3d921a0aa5
commit
a04b1a5670
1 changed files with 1 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue