summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-11-28 15:29:53 -0800
committerJames Almer <jamrial@gmail.com>2016-12-02 16:25:17 -0300
commitc91e72ed52f231e02032aba54c9b06849c186355 (patch)
tree9d2f04a22cfc64dc26eac0e242087edca25bf07e /configure
parent3359eede8fc5f6b34b76138a44cf1b2ea45fe0a5 (diff)
Add a compat stdatomic.h implementation based on windows atomics
Adapted from the code by RĂ©mi Denis-Courmont from VLC This merges libav commit c2755864afadfbaa349e8d583665c86fe99fa90b. 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 8cbe6f8c42..2a77be9a0c 100755
--- a/configure
+++ b/configure
@@ -6384,6 +6384,8 @@ done
if disabled stdatomic_h; then
if enabled atomics_gcc; then
add_cppflags '-I\$(SRC_PATH)/compat/atomics/gcc'
+ elif enabled atomics_win32; then
+ add_cppflags '-I\$(SRC_PATH)/compat/atomics/win32'
fi
fi