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