wasm: set emscripten condition for openal

to use bundled emsdk openal headers
This commit is contained in:
Paul m. p. Peny 2022-10-21 11:12:20 +02:00 committed by GitHub
parent 1c891200b5
commit b0dee0f6e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,9 +10,12 @@
#include "engine/ogg_audio_stream.h"
#include "engine/wav_audio_stream.h"
#ifndef EMSCRIPTEN
#include <AL/alc.h>
#include <AL/alext.h>
#if !defined(__EMSCRIPTEN__)
#include <AL/alext.h>
#else
#include <AL/al.h>
#endif
#include <bx/bx.h>
@ -625,4 +628,3 @@ void StopAllSources() {
}
} // namespace hg
#endif