aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-01-11 10:03:26 -0800
committerChris Robinson <[email protected]>2018-01-11 10:03:26 -0800
commite89c183231d26770f4c8ae80a8d05063c34cf0c9 (patch)
tree4e0afc97391f196e74361a3f72d757986a580636 /OpenAL32/Include
parentca9e6a4f9434ca25f821802d1b6e1363b18d7b81 (diff)
Avoid including alMain.h in ringbuffer.c
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alMain.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index 917e2e39..7af1c195 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -187,20 +187,6 @@ AL_API ALboolean AL_APIENTRY alIsBufferFormatSupportedSOFT(ALenum format);
#ifdef __GNUC__
-/* This helps cast away the const-ness of a pointer without accidentally
- * changing the pointer type. This is necessary due to Clang's inability to use
- * atomic_load on a const _Atomic variable.
- */
-#define CONST_CAST(T, V) __extension__({ \
- const T _tmp = (V); \
- (T)_tmp; \
-})
-#else
-#define CONST_CAST(T, V) ((T)(V))
-#endif
-
-
-#ifdef __GNUC__
#define LIKELY(x) __builtin_expect(!!(x), !0)
#define UNLIKELY(x) __builtin_expect(!!(x), 0)
#else