summaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/atomic.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavutil/atomic.h b/libavutil/atomic.h
index 577e471462..773c5df1bd 100644
--- a/libavutil/atomic.h
+++ b/libavutil/atomic.h
@@ -23,10 +23,10 @@
#include "config.h"
-#if HAVE_MEMORYBARRIER
-#include "atomic_win32.h"
-#elif HAVE_SYNC_VAL_COMPARE_AND_SWAP
+#if HAVE_SYNC_VAL_COMPARE_AND_SWAP
#include "atomic_gcc.h"
+#elif HAVE_MEMORYBARRIER
+#include "atomic_win32.h"
#elif HAVE_MACHINE_RW_BARRIER
#include "atomic_suncc.h"
#else