From 70faadc8268763ea6825e9846927150c5fb15d9c Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Mon, 28 Nov 2016 15:29:54 -0800 Subject: Add a compat stdatomic.h implementation based on suncc atomics MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adapted from the code by RĂ©mi Denis-Courmont from VLC This merges libav commit bb81ed476569b912a37ed553e756e123b6b13b14. Signed-off-by: Wan-Teh Chang Reviewed-by: wm4 Signed-off-by: James Almer --- configure | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configure') diff --git a/configure b/configure index 2a77be9..dfe9bf8 100755 --- a/configure +++ b/configure @@ -6386,6 +6386,8 @@ if disabled stdatomic_h; then add_cppflags '-I\$(SRC_PATH)/compat/atomics/gcc' elif enabled atomics_win32; then add_cppflags '-I\$(SRC_PATH)/compat/atomics/win32' + elif enabled atomics_suncc; then + add_cppflags '-I\$(SRC_PATH)/compat/atomics/suncc' fi fi -- cgit v1.1