From f116b57c8e21bdfc06f8479867a4253e5e4eba32 Mon Sep 17 00:00:00 2001 From: tobil4sk Date: Wed, 1 Mar 2023 16:37:06 +0000 Subject: [PATCH] Adding missing RESTRICT define for openal See e027811906f70aec28d1046b0c7adee5addf3bf3 --- project/lib/custom/openal/include/config-macos-arm64.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/project/lib/custom/openal/include/config-macos-arm64.h b/project/lib/custom/openal/include/config-macos-arm64.h index 5b85e50a2..a5307da4c 100644 --- a/project/lib/custom/openal/include/config-macos-arm64.h +++ b/project/lib/custom/openal/include/config-macos-arm64.h @@ -14,6 +14,9 @@ /* Define a built-in call indicating an aligned data pointer */ #define ASSUME_ALIGNED(x, y) x +/* Define a restrict macro for non-aliased pointers */ +#define RESTRICT __restrict + /* Define if HRTF data is embedded in the library */ #define ALSOFT_EMBED_HRTF_DATA