Commit 466a1354 authored by David Reid's avatar David Reid

Experiment with a fix for older versions of Clang.

parent e08c1303
......@@ -14905,7 +14905,9 @@ typedef int ma_atomic_memory_order;
}
#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Watomic-alignment"
#if __clang_major__ >= 8
#pragma clang diagnostic ignored "-Watomic-alignment"
#endif
#endif
static MA_INLINE ma_uint64 ma_atomic_compare_and_swap_64(volatile ma_uint64* dst, ma_uint64 expected, ma_uint64 desired)
{
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