Fix an error with old versions of GCC.

This commit is contained in:
David Reid
2025-04-27 18:41:05 +10:00
parent e58a24124a
commit 5ba0fc51b6
+1 -1
View File
@@ -11864,7 +11864,7 @@ static MA_INLINE ma_bool32 ma_has_neon(void)
#endif
#ifndef MA_RESTRICT
#if defined(__clang__) || defined(__GNUC__) || defined(_MSC_VER)
#if defined(__clang__) || defined(_MSC_VER) || (defined(__GNUC__) && __GNUC__ >= 2 && __GNUC_MINOR__ >= 95)
#define MA_RESTRICT __restrict
#else
#define MA_RESTRICT