diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-07-17 18:56:33 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-10-02 18:56:52 +0200 |
commit | f9a6a80e065cdb95b233978f1d96ec9bc863daa1 (patch) | |
tree | cbee85bc0606c989d1c8895bb020964c984452b9 /configure | |
parent | bb81ed476569b912a37ed553e756e123b6b13b14 (diff) | |
download | ffmpeg-f9a6a80e065cdb95b233978f1d96ec9bc863daa1.tar.gz |
Add a compat stdatomic.h implementation based on pthreads
Adapted from the code by RĂ©mi Denis-Courmont from VLC
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -5080,6 +5080,9 @@ if disabled stdatomic_h; then add_cppflags '-I\$(SRC_PATH)/compat/atomics/win32' elif enabled atomics_suncc; then add_cppflags '-I\$(SRC_PATH)/compat/atomics/suncc' + elif enabled pthreads; then + add_compat atomics/pthread/stdatomic.o + add_cppflags '-I\$(SRC_PATH)/compat/atomics/pthread' fi fi |