summaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/Include/alMain.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index 09b85baf..aa1b50a1 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -171,6 +171,14 @@ typedef unsigned long long ALuint64;
#define PRINTF_STYLE(x, y)
#endif
+#if defined(HAVE_RESTRICT)
+#define RESTRICT restrict
+#elif defined(HAVE___RESTRICT)
+#define RESTRICT __restrict
+#else
+#define RESTRICT
+#endif
+
#ifdef _WIN32
#ifndef _WIN32_WINNT