Commit 5ba0fc51 authored by David Reid's avatar David Reid

Fix an error with old versions of GCC.

parent e58a2412
...@@ -11864,7 +11864,7 @@ static MA_INLINE ma_bool32 ma_has_neon(void) ...@@ -11864,7 +11864,7 @@ static MA_INLINE ma_bool32 ma_has_neon(void)
#endif #endif
#ifndef MA_RESTRICT #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 #define MA_RESTRICT __restrict
#else #else
#define MA_RESTRICT #define MA_RESTRICT
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment