Browse Source

external: define AL_APIENTRY if not defined.

Fixes compilation under Emscripten.
pull/175/merge
Vladimír Vondruš 10 years ago
parent
commit
c5d377b771
  1. 5
      src/MagnumExternal/OpenAL/extensions.h

5
src/MagnumExternal/OpenAL/extensions.h vendored

@ -33,6 +33,11 @@
extern "C" { extern "C" {
#endif #endif
/* For compatibility with Emscripten that does not define this macro */
#ifndef AL_APIENTRY
#define AL_APIENTRY
#endif
/* AL_EXT_float32 */ /* AL_EXT_float32 */
#ifndef AL_EXT_float32 #ifndef AL_EXT_float32
#define AL_EXT_float32 1 #define AL_EXT_float32 1

Loading…
Cancel
Save