diff --git a/compat/w32pthreads.h b/compat/w32pthreads.h index 3a2f68f2d5..c327962735 100644 --- a/compat/w32pthreads.h +++ b/compat/w32pthreads.h @@ -39,9 +39,9 @@ #include #include -/* MinGW requires the intrinsics header for the pthread_once fallback code */ #if _WIN32_WINNT < 0x0600 && defined(__MINGW32__) -#include +#undef MemoryBarrier +#define MemoryBarrier __sync_synchronize #endif #include "libavutil/attributes.h"