aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/atomic.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-04-03 14:46:48 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-04-03 14:46:48 +0200
commit6ce1d873552ac99d52e6f174a9f76993402565d3 (patch)
tree7ad441a8ae8f75b1cd3807ca0c3cb43a2c237002 /libavutil/atomic.h
parent6fcb4ae1d81dd104598001f55c80864c08d848af (diff)
parentf9f6402e9c9ce3642df981b48507df3a2d956f65 (diff)
downloadffmpeg-6ce1d873552ac99d52e6f174a9f76993402565d3.tar.gz
Merge commit 'f9f6402e9c9ce3642df981b48507df3a2d956f65'
* commit 'f9f6402e9c9ce3642df981b48507df3a2d956f65': configure: prettify atomics handling. Conflicts: configure Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/atomic.h')
-rw-r--r--libavutil/atomic.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavutil/atomic.h b/libavutil/atomic.h
index 1d2a34548e..fd7d8fc03e 100644
--- a/libavutil/atomic.h
+++ b/libavutil/atomic.h
@@ -23,11 +23,11 @@
#include "config.h"
-#if HAVE_SYNC_VAL_COMPARE_AND_SWAP
+#if HAVE_ATOMICS_GCC
#include "atomic_gcc.h"
-#elif HAVE_MEMORYBARRIER
+#elif HAVE_ATOMICS_WIN32
#include "atomic_win32.h"
-#elif HAVE_MACHINE_RW_BARRIER
+#elif HAVE_ATOMICS_SUNCC
#include "atomic_suncc.h"
#else