summaryrefslogtreecommitdiff
path: root/pkg/ffmpeg/include/stdatomic.h
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2021-09-07 13:38:33 -0700
committerMichael Forney <mforney@mforney.org>2021-09-07 13:41:35 -0700
commit592b1919f429cb9597c13931261031ab38c727af (patch)
tree11fe06741a781dd4466049098f6b5902291a2af1 /pkg/ffmpeg/include/stdatomic.h
parentfefb82678bd82c02fd177e58170a7558df504b9c (diff)
ffmpeg: Include dummy stdatomic.h with __STDC_NO_ATOMICS__
Diffstat (limited to 'pkg/ffmpeg/include/stdatomic.h')
-rw-r--r--pkg/ffmpeg/include/stdatomic.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/ffmpeg/include/stdatomic.h b/pkg/ffmpeg/include/stdatomic.h
new file mode 100644
index 00000000..6a33f122
--- /dev/null
+++ b/pkg/ffmpeg/include/stdatomic.h
@@ -0,0 +1,5 @@
+#ifdef __STDC_NO_ATOMICS__
+# include <compat/atomics/dummy/stdatomic.h>
+#else
+# include_next <stdatomic.h>
+#endif