summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-11-28 15:29:54 -0800
committerJames Almer <jamrial@gmail.com>2016-12-02 16:25:18 -0300
commit70faadc8268763ea6825e9846927150c5fb15d9c (patch)
tree3daa98bef037587810bda8fc55886c7bab65cdf9 /configure
parentc91e72ed52f231e02032aba54c9b06849c186355 (diff)
downloadffmpeg-streaming-70faadc8268763ea6825e9846927150c5fb15d9c.zip
ffmpeg-streaming-70faadc8268763ea6825e9846927150c5fb15d9c.tar.gz
Add a compat stdatomic.h implementation based on suncc atomics
Adapted from the code by RĂ©mi Denis-Courmont from VLC This merges libav commit bb81ed476569b912a37ed553e756e123b6b13b14. Signed-off-by: Wan-Teh Chang <wtc@google.com> Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
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
OpenPOWER on IntegriCloud