Add a compat stdatomic.h implementation based on pthreads
[ffmpeg.git] / configure
index 80a4b09..e61d128 100755 (executable)
--- a/configure
+++ b/configure
@@ -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