Audio: Fix compilation with emscripten

This commit is contained in:
SirLynix 2023-12-04 09:45:09 +01:00
parent 876023ffa9
commit c06898fcde
1 changed files with 5 additions and 0 deletions

View File

@ -18,6 +18,11 @@
#include <AL/alext.h>
#endif
// AL_APIENTRY is not defined by emscripten OpenAL headers
#ifndef AL_APIENTRY
#define AL_APIENTRY
#endif
#endif // NAZARA_AUDIO_OPENAL
#endif // NAZARA_AUDIO_OPENAL_HPP