icculus / mojoAL

An SDL2-based implementation of OpenAL in a single C file.
https://icculus.org/mojoAL/
zlib License
154 stars 20 forks source link

Compatibility fixes #11

Closed fgenesis closed 2 years ago

fgenesis commented 2 years ago

Two small things: The first commit fixes building with VS2008, which needs mojoal.c to be compiled in C++ mode. So no implicit void -> any casts. For the include location change in the 2nd commit refer to https://github.com/AquariaOSE/Aquaria/pull/78#issuecomment-1067494664 Imho, it's also easier for users to just plop the two .h files into some include dir rather than require them to be available under some AL/-subdir...