diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-03-27 19:26:19 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-04-03 09:22:31 +0200 |
commit | f9f6402e9c9ce3642df981b48507df3a2d956f65 (patch) | |
tree | a2048ccf4ac1e312f0cdcde048d15e23544788ed /libavutil/atomic.h | |
parent | 0933fd1533560fbc718026e12f19a4824b041237 (diff) | |
download | ffmpeg-f9f6402e9c9ce3642df981b48507df3a2d956f65.tar.gz |
configure: prettify atomics handling.
Add simpler names and a shorthand for native atomics (as opposed to
pthreads fallback).
Diffstat (limited to 'libavutil/atomic.h')
-rw-r--r-- | libavutil/atomic.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavutil/atomic.h b/libavutil/atomic.h index 773c5df1bd..a5c5fe86bf 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 |