diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-04-13 11:04:40 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2018-04-13 11:08:17 -0300 |
commit | 876f9ac9a682fc2a3b05d2fe35354d717ae39dc3 (patch) | |
tree | 908e99d3b09dc6812f48d168c6e5bb75b974c321 | |
parent | e7a2f1f8d8350a768ca88b61303449433962b52d (diff) | |
download | ffmpeg-876f9ac9a682fc2a3b05d2fe35354d717ae39dc3.tar.gz |
configure: make the C11 atomics check more robust
C11 atomics allow direct access. This check should prevent the usage
of bogus stdatomic.h available on some systems.
Signed-off-by: James Almer <jamrial@gmail.com>
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5825,7 +5825,7 @@ check_header asm/types.h # it seems there are versions of clang in some distros that try to use the # gcc headers, which explodes for stdatomic # so we also check that atomics actually work here -check_builtin stdatomic stdatomic.h "atomic_int foo, bar = ATOMIC_VAR_INIT(-1); atomic_store(&foo, 0)" +check_builtin stdatomic stdatomic.h "atomic_int foo, bar = ATOMIC_VAR_INIT(-1); atomic_store(&foo, 0); foo += bar" check_lib advapi32 "windows.h" RegCloseKey -ladvapi32 check_lib ole32 "windows.h" CoTaskMemFree -lole32 |