1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-07-03 06:24:32 +00:00

fix linux/gcc build

This commit is contained in:
fgenesis 2022-04-07 03:11:24 +02:00
parent 49b9e0f05a
commit d34a962e78
6 changed files with 34 additions and 12 deletions

View file

@ -51,6 +51,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#undef min
#undef max
// HACK: Fix this == NULL checks with GCC 6 and up
#if defined(__GNUC__) || defined (__clang__)
#pragma GCC optimize("no-delete-null-pointer-checks")
#endif
// HACK: global because OpenAL has only one listener anyway
static FMOD_VECTOR s_listenerPos;