From fffd1702a52ceb6a3682e36643f9194bca815c8f Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Thu, 24 Dec 2020 07:35:45 +0100 Subject: [PATCH] CLANG 3.8 stdatomic works. Update minimun version --- m-atomic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m-atomic.h b/m-atomic.h index 72d62060..37a5335c 100644 --- a/m-atomic.h +++ b/m-atomic.h @@ -128,7 +128,7 @@ using std::memory_order_seq_cst; */ #elif (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L && !defined(__STDC_NO_ATOMICS__) ) \ || (defined(__GNUC__) && !defined(__clang__) && !defined(__INTEL_COMPILER) && !defined(__cplusplus) && (__GNUC__*100 + __GNUC_MINOR__) >= 409) \ - || (defined(__clang__) && __clang_major__ >= 4) \ + || (defined(__clang__) && (__clang_major__ * 100 + __clang_minor__) >= 308) \ || (defined(__INTEL_COMPILER) && __INTEL_COMPILER >= 1800) #include